diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-07 18:41:51 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-21 04:29:18 +0200 |
commit | e09e2c6442924bfa1fb5efc419bc27fc6ef8a532 (patch) | |
tree | 7ddbcdff9eb205a396bbd3b8a203c4879044d310 /libavutil/cast5.c | |
parent | 6c8ff1838d1384609f865fc3074cb5cf65aa6ba8 (diff) | |
download | ffmpeg-e09e2c6442924bfa1fb5efc419bc27fc6ef8a532.tar.gz |
avformat/dashdec: Avoid double free on error
When using one of the AV_DICT_DONT_STRDUP_KEY/VAL flags, av_dict_set()
already frees the key/value on error, so that freeing it again would
lead to a double free.
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/cast5.c')
0 files changed, 0 insertions, 0 deletions