[libav-commits] avprobe: free options at the end of main()

Janne Grunau git at libav.org
Mon May 14 18:44:33 CEST 2012


Module: libav
Branch: master
Commit: 31f2c0231f2294145fcc24717c0127c040dc0c48

Author:    Janne Grunau <janne-libav at jannau.net>
Committer: Janne Grunau <janne-libav at jannau.net>
Date:      Mon May 14 12:39:41 2012 +0200

avprobe: free options at the end of main()

---

 avprobe.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/avprobe.c b/avprobe.c
index a3c1f80..0233ea9 100644
--- 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;



More information about the libav-commits mailing list