Commit 1b3b4a57 authored by Clément Bœsch's avatar Clément Bœsch

libmodplug: free file content buffer in read_close() callback.

parent 8830c4e8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment