]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip server: don't close session on PLAY, fixes #4471
authorJaroslav Kysela <perex@perex.cz>
Thu, 6 Jul 2017 06:52:35 +0000 (08:52 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 6 Jul 2017 06:52:35 +0000 (08:52 +0200)
src/satip/rtsp.c

index 08e6faee21acbf7727b86c4c91fbde018e75b359..fe313afd2ad21436cb6bb20fb8f50d4222830343 100644 (file)
@@ -1417,7 +1417,7 @@ rtsp_process_play(http_connection_t *hc, int setup)
   goto end;
 
 error:
-  if (rs) {
+  if (rs && setup) {
     rtsp_close_session(rs);
     rtsp_free_session(rs);
   }