Module: libav
Branch: master
Commit: c12ef64d699fb209f2474068368154e9fb9ecab0

Author:    Janne Grunau <[email protected]>
Committer: Janne Grunau <[email protected]>
Date:      Fri Oct 28 19:22:27 2011 +0200

seek-test: free options dictionary after use

---

 libavformat/seek-test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c
index 7710360..363be8a 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);

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to