1
0
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:
Clément Bœsch 2011-10-06 08:50:56 +02:00
parent 8830c4e8a9
commit 1b3b4a575b

View File

@ -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;
}