changeset 18876:f041273310d8

missing free() if bails out at step 12
author ben
date Sat, 01 Jul 2006 15:07:57 +0000
parents caa2724bd743
children 45befbaf1912
files libmpdemux/librtsp/rtsp_rtp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/librtsp/rtsp_rtp.c	Sat Jul 01 14:39:14 2006 +0000
+++ b/libmpdemux/librtsp/rtsp_rtp.c	Sat Jul 01 15:07:57 2006 +0000
@@ -676,6 +676,7 @@
   statut = rtsp_request_play (rtsp_session, NULL);
   if (statut < 200 || statut > 299)
   {
+    free (destination);
     rtp_session_free (rtp_session);
     return NULL;
   }