lavf: use av_freep() in ffurl_close()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Michael Niedermayer 13 years ago
parent 2dbb8cc6a3
commit f89aa6751c
  1. 2
      libavformat/avio.c

@ -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…
Cancel
Save