summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-01 14:40:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-01 14:40:05 +0200
commitf89aa6751c0b4c2ff391c34f585d9ea920858adb (patch)
treef62ddb733bde2ebfa75a8f8eeddfeab5ceedd7ae /libavformat/avio.c
parent2dbb8cc6a31b0e5b88e6ca667da097fa785e8917 (diff)
downloadffmpeg-f89aa6751c0b4c2ff391c34f585d9ea920858adb.tar.gz
lavf: use av_freep() in ffurl_close()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 0e9bd2b5f9..5a1c79ec8e 100644
--- a/libavformat/avio.c
+++ b/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;