aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mj2kdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-20 07:24:53 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-24 03:23:07 +0200
commit28ce651c6d53866c1b8c3b49b8b66a2e967aa273 (patch)
tree3fb540b8340940c6c5b3280bb542288a6f70d0f5 /libavformat/mj2kdec.c
parent78f21cab188a094d42520bcad9686c3b5afa844b (diff)
downloadffmpeg-28ce651c6d53866c1b8c3b49b8b66a2e967aa273.tar.gz
avformat/mxfdec: Fix memleak upon repeating tags
When parsing MXF encountering some tags leads to allocations. And when these tags were encountered repeatedly, this could lead to memleaks, because the pointer to the old data got simply overwritten with a pointer to the new data (or to NULL on allocation failure). This has been fixed. Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/mj2kdec.c')
0 files changed, 0 insertions, 0 deletions