summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-10-28 19:22:27 +0200
committerJanne Grunau <janne-libav@jannau.net>2011-10-28 19:50:44 +0200
commitc12ef64d699fb209f2474068368154e9fb9ecab0 (patch)
tree4528523bf4639288b419883c3e350fc5664f1be8 /libavformat
parent8fa97302e03f00a81177027c3578274fef41c250 (diff)
seek-test: free options dictionary after use
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/seek-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c
index 771036087a..363be8a88b 100644
--- a/libavformat/seek-test.c
+++ b/libavformat/seek-test.c
@@ -81,6 +81,7 @@ int main(int argc, char **argv)
filename = argv[1];
ret = avformat_open_input(&ic, filename, NULL, &format_opts);
+ av_dict_free(&format_opts);
if (ret < 0) {
fprintf(stderr, "cannot open %s\n", filename);
exit(1);