diff options
author | Jun Zhao <barryjzhao@tencent.com> | 2020-01-01 12:06:47 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2020-01-04 09:03:30 +0800 |
commit | 0099f71502b7b88ae11ea7360d0f751be8d5878e (patch) | |
tree | 9749bea9006db12decef8df96220699202cb188d /libavutil/opt.c | |
parent | 944203270dc37b9cbbc3ead9dfc3fba6bc009789 (diff) | |
download | ffmpeg-0099f71502b7b88ae11ea7360d0f751be8d5878e.tar.gz |
lavc/bsf: fix memory leak after av_dict_parse_string fail
In case of failure, all the successfully set entries are stored in
*pm. We need to manually free the created dictionary to avoid
memory leak.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavutil/opt.c')
0 files changed, 0 insertions, 0 deletions