mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 05:24:42 +00:00
lavf: use av_freep() in ffurl_close()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2dbb8cc6a3
commit
f89aa6751c
@ -329,7 +329,7 @@ int ffurl_close(URLContext *h)
|
||||
if (h->prot->priv_data_size) {
|
||||
if (h->prot->priv_data_class)
|
||||
av_opt_free(h->priv_data);
|
||||
av_free(h->priv_data);
|
||||
av_freep(&h->priv_data);
|
||||
}
|
||||
av_free(h);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user