mirror of https://github.com/mpv-player/mpv
revert one line of version 1.182 patch (caused use of already-freed
memory and multiple double-free errors). i am fairly confident that all the relevant memory is now freed once and exactly once, but it's better than corrupting the heap in any case. 100l to reimar :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15298 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f920ca0b81
commit
a69f29069b
|
@ -224,7 +224,7 @@ void free_demuxer(demuxer_t *demuxer){
|
|||
case DEMUXER_TYPE_SMJPEG:
|
||||
demux_close_smjpeg(demuxer); break;
|
||||
case DEMUXER_TYPE_DEMUXERS:
|
||||
demux_close_demuxers(demuxer); break;
|
||||
demux_close_demuxers(demuxer); return;
|
||||
case DEMUXER_TYPE_AVI:
|
||||
case DEMUXER_TYPE_AVI_NI:
|
||||
case DEMUXER_TYPE_AVI_NINI:
|
||||
|
|
Loading…
Reference in New Issue