]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Revert "satip server: close session on SETUP error, fixes #4471"
authorJaroslav Kysela <perex@perex.cz>
Mon, 18 Sep 2017 12:24:49 +0000 (14:24 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 18 Sep 2017 12:24:49 +0000 (14:24 +0200)
This reverts commit 72128777940978239ba535c98d2c27648687c93f.

src/satip/rtsp.c

index 4fbf9a90d567ea58dd7e8b37327cc3f95ec37345..5550c849673d95db5ee37114e926f53b3131315c 100644 (file)
@@ -1460,10 +1460,6 @@ rtsp_process_play(http_connection_t *hc, int cmd)
   goto end;
 
 error:
-  if (rs && cmd == RTSP_CMD_SETUP) {
-    rtsp_close_session(rs);
-    rtsp_free_session(rs);
-  }
   pthread_mutex_unlock(&rtsp_lock);
 error2:
   http_error(hc, errcode);