diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-11-23 18:48:10 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-23 18:49:26 +0100 |
commit | 9a7256e8e07a47bc35da5e8ad5854fa18bdcffca (patch) | |
tree | 3b28f86681aacdf693bc35a74451159f604b2a1f /ffprobe.c | |
parent | a8ebbf87be86454212181f1a25afbc5897d4a12e (diff) | |
download | ffmpeg-9a7256e8e07a47bc35da5e8ad5854fa18bdcffca.tar.gz |
ffprobe: free dictionary in opt_show_entries()
Fix memleak.
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |