mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
libmodplug: free file content buffer in read_close() callback.
This commit is contained in:
parent
8830c4e8a9
commit
1b3b4a575b
@ -204,6 +204,7 @@ static int modplug_read_close(AVFormatContext *s)
|
||||
{
|
||||
ModPlugContext *modplug = s->priv_data;
|
||||
ModPlug_Unload(modplug->f);
|
||||
av_freep(&modplug->buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user