avprobe: free options at the end of main()
authorJanne Grunau <janne-libav@jannau.net>
Mon, 14 May 2012 10:39:41 +0000 (12:39 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 14 May 2012 16:37:20 +0000 (18:37 +0200)
avprobe.c

index a3c1f80..0233ea9 100644 (file)
--- a/avprobe.c
+++ b/avprobe.c
@@ -491,6 +491,9 @@ int main(int argc, char **argv)
 
     ret = probe_file(input_filename);
 
+    uninit_opts();
+    av_dict_free(&fmt_entries_to_show);
+
     avformat_network_deinit();
 
     return ret;