mirror of https://github.com/mpv-player/mpv
Fix possible double-free.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29502 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b6c472202f
commit
226e5b47c8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue