[FFmpeg-cvslog] r9697 - trunk/libavformat/rtsp.c

alex subversion
Mon Jul 16 12:56:40 CEST 2007


Author: alex
Date: Mon Jul 16 12:56:40 2007
New Revision: 9697

Log:
.memleak fix by Ronald Bultje. OK'd by Luca.

Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	(original)
+++ trunk/libavformat/rtsp.c	Mon Jul 16 12:56:40 2007
@@ -814,6 +814,8 @@ static void rtsp_send_cmd(AVFormatContex
     }
     if (content_ptr)
         *content_ptr = content;
+    else
+        av_free(content);
 }
 
 




More information about the ffmpeg-cvslog mailing list