From b59ec31daaea995484dc1b3f31640cb5e65e44ab Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 1 Jul 2006 15:07:57 +0000 Subject: [PATCH] missing free() if bails out at step 12 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18881 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/librtsp/rtsp_rtp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpdemux/librtsp/rtsp_rtp.c b/libmpdemux/librtsp/rtsp_rtp.c index 42dfe3cc3d..b6cfd065a1 100644 --- a/libmpdemux/librtsp/rtsp_rtp.c +++ b/libmpdemux/librtsp/rtsp_rtp.c @@ -676,6 +676,7 @@ rtp_setup_and_play (rtsp_t *rtsp_session) statut = rtsp_request_play (rtsp_session, NULL); if (statut < 200 || statut > 299) { + free (destination); rtp_session_free (rtp_session); return NULL; }