aboutsummaryrefslogtreecommitdiffstats
path: root/RELEASE
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-20 06:20:29 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-24 03:22:06 +0200
commit78f21cab188a094d42520bcad9686c3b5afa844b (patch)
tree7aa84bc66401d276aa0bcdeaa918cf22bb1d7dbb /RELEASE
parent49e78548c35be84200ea9f617c4b5b2f58c7e6f6 (diff)
downloadffmpeg-78f21cab188a094d42520bcad9686c3b5afa844b.tar.gz
avformat/mxfdec: Fix memleak when parsing tag fails
The MXF demuxer uses an array of pointers to different structures of metadata (all containing a common initial sequence containing a type field to distinguish them) and some of these structures contain pointers to separately allocated subelements. If an error happens while reading and creating the tags, the semi-finished new tag is freed using the function to free these tags. But this function doesn't free the already allocated subelements, because the type has not been set yet. This commit changes this. Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'RELEASE')
0 files changed, 0 insertions, 0 deletions