]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Revert "satip server: close session on SETUP error, fixes #4471"
authorJaroslav Kysela <perex@perex.cz>
Mon, 9 Oct 2017 13:56:07 +0000 (15:56 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 Oct 2017 13:56:07 +0000 (15:56 +0200)
This reverts commit 3a10ba27f0f1440a7f2cce01a85031aa81f27904.

src/satip/rtsp.c

index b1ec95e140c9f1b2da2fd3450805b4147a769c08..8e50157476b9b9cb38988829d7db9b0b016064ba 100644 (file)
@@ -1483,10 +1483,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);