From 490b6f213a7435d27f99fbb799f76c19c3da0d8e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 6 Jul 2017 15:34:17 +0200 Subject: [PATCH] satip server: fix the cherry pick error (cmd) --- src/satip/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 1fda0cb0f..e08c626d3 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -1428,7 +1428,7 @@ rtsp_process_play(http_connection_t *hc, int cmd) goto end; error: - if (rs && setup) { + if (rs && cmd == RTSP_CMD_SETUP) { rtsp_close_session(rs); rtsp_free_session(rs); } -- 2.47.2