mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 10:50:53 +00:00
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->sdpDescription;
|
||||||
delete rtpState;
|
delete rtpState;
|
||||||
#ifdef CONFIG_LIBAVCODEC
|
#ifdef CONFIG_LIBAVCODEC
|
||||||
av_free(avcctx);
|
av_freep(&avcctx);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
env->reclaim(); delete scheduler;
|
env->reclaim(); delete scheduler;
|
||||||
|
Loading…
Reference in New Issue
Block a user