[MPlayer-cvslog] r29502 - trunk/libmpdemux/demux_rtp.cpp

cehoyos subversion at mplayerhq.hu
Wed Aug 12 17:20:14 CEST 2009


Author: cehoyos
Date: Wed Aug 12 17:20:14 2009
New Revision: 29502

Log:
Fix possible double-free.

Modified:
   trunk/libmpdemux/demux_rtp.cpp

Modified: trunk/libmpdemux/demux_rtp.cpp
==============================================================================
--- trunk/libmpdemux/demux_rtp.cpp	Wed Aug 12 03:04:37 2009	(r29501)
+++ trunk/libmpdemux/demux_rtp.cpp	Wed Aug 12 17:20:14 2009	(r29502)
@@ -392,7 +392,7 @@ extern "C" void demux_close_rtp(demuxer_
   delete rtpState->sdpDescription;
   delete rtpState;
 #ifdef CONFIG_LIBAVCODEC
-  av_free(avcctx);
+  av_freep(&avcctx);
 #endif
 
   env->reclaim(); delete scheduler;


More information about the MPlayer-cvslog mailing list