Browse files

ffprobe: free dictionary in opt_show_entries()

Fix memleak.
  • Loading branch information...
1 parent a8ebbf8 commit 9a7256e8e07a47bc35da5e8ad5854fa18bdcffca @saste saste committed Nov 23, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 ffprobe.c
View
1 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)

0 comments on commit 9a7256e

Please sign in to comment.