libmodplug: free file content buffer in read_close() callback.
This commit is contained in:
@ -204,6 +204,7 @@ static int modplug_read_close(AVFormatContext *s)
|
|||||||
{
|
{
|
||||||
ModPlugContext *modplug = s->priv_data;
|
ModPlugContext *modplug = s->priv_data;
|
||||||
ModPlug_Unload(modplug->f);
|
ModPlug_Unload(modplug->f);
|
||||||
|
av_freep(&modplug->buf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user