diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-07 18:41:51 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:58 +0100 |
commit | 753c0afe72a7ba634d5d58e5add67fbda1fbb427 (patch) | |
tree | 0c72271b1508865815b1a1c4f74a186fc3de7adc /doc/examples/extract_mvs.c | |
parent | 4e7e2e1bd3cedc85decb7a1c2c1bb5e56d7d65cc (diff) | |
download | ffmpeg-753c0afe72a7ba634d5d58e5add67fbda1fbb427.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>
(cherry picked from commit e09e2c6442924bfa1fb5efc419bc27fc6ef8a532)
Diffstat (limited to 'doc/examples/extract_mvs.c')
0 files changed, 0 insertions, 0 deletions