Commit f89aa675 authored by Michael Niedermayer's avatar Michael Niedermayer

lavf: use av_freep() in ffurl_close()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2dbb8cc6
......@@ -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;
......
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