summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-01-28 23:49:06 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-29 19:23:02 +0100
commit8fac0d640341f1b26fed8c9af4c31cb9485d5fd5 (patch)
treebccf9a0ea2baf76819a5cd1895fe689ad79b703f /libavformat/avio.c
parentc323c98ee34861de1ef21a5d20fa1dec3eb436d9 (diff)
avformat/avio: free url/avio options
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 05d055713f..96b18fd88e 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -412,6 +412,7 @@ int ffurl_closep(URLContext **hh)
av_opt_free(h->priv_data);
av_freep(&h->priv_data);
}
+ av_opt_free(h);
av_freep(hh);
return ret;
}