aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/idctdsp.c
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2020-01-01 12:35:31 +0800
committerJun Zhao <barryjzhao@tencent.com>2020-01-04 09:05:23 +0800
commit3c8da7b9826d03e370cab550a403ed0e14da24ef (patch)
tree2708e7217d2042ef12d2bbb96ed1b7a0d6a05dbd /libavcodec/idctdsp.c
parentc8e72a6494ebffbe930a30823cb70a0671e6bfe0 (diff)
downloadffmpeg-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 'libavcodec/idctdsp.c')
0 files changed, 0 insertions, 0 deletions