diff options
author | Jun Zhao <barryjzhao@tencent.com> | 2020-01-01 12:35:31 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2020-01-04 09:05:23 +0800 |
commit | 3c8da7b9826d03e370cab550a403ed0e14da24ef (patch) | |
tree | 2708e7217d2042ef12d2bbb96ed1b7a0d6a05dbd /COPYING.GPLv3 | |
parent | c8e72a6494ebffbe930a30823cb70a0671e6bfe0 (diff) | |
download | ffmpeg-3c8da7b9826d03e370cab550a403ed0e14da24ef.tar.gz |
libavutil/opt: 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 'COPYING.GPLv3')
0 files changed, 0 insertions, 0 deletions