Fix possible double-free.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29502 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2009-08-12 15:20:14 +00:00
parent b6c472202f
commit 226e5b47c8
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ extern "C" void demux_close_rtp(demuxer_t* demuxer) {
delete rtpState->sdpDescription;
delete rtpState;
#ifdef CONFIG_LIBAVCODEC
av_free(avcctx);
av_freep(&avcctx);
#endif
env->reclaim(); delete scheduler;