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