summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-11-23 18:48:10 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-11-23 18:49:26 +0100
commit9a7256e8e07a47bc35da5e8ad5854fa18bdcffca (patch)
tree3b28f86681aacdf693bc35a74451159f604b2a1f /ffprobe.c
parenta8ebbf87be86454212181f1a25afbc5897d4a12e (diff)
downloadffmpeg-9a7256e8e07a47bc35da5e8ad5854fa18bdcffca.tar.gz
ffprobe: free dictionary in opt_show_entries()
Fix memleak.
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index f7374b3877..84dfa19643 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2043,6 +2043,7 @@ static int opt_show_entries(void *optctx, const char *opt, const char *arg)
av_log(NULL, AV_LOG_ERROR, "No match for section '%s'\n", section_name);
ret = AVERROR(EINVAL);
}
+ av_dict_free(&entries);
av_free(section_name);
if (ret <= 0)