libmodplug: free file content buffer in read_close() callback.
This commit is contained in:
parent
8830c4e8a9
commit
1b3b4a575b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue