aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gifdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-26 11:53:28 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-03-14 22:07:27 +0100
commitabbb466368c51285ca27d5e3959a16a9591e9a4c (patch)
tree305f073b5e9ae7602176ededf8f494e99ddabac0 /libavformat/gifdec.c
parent6e9cc964293bf1e0cca6a52b2938a20d711e4146 (diff)
downloadffmpeg-abbb466368c51285ca27d5e3959a16a9591e9a4c.tar.gz
avformat/smoothstreaming: Fix memleaks on errors
If an AVFormatContext could be allocated, but white-/blacklists couldn't be copied, the AVFormatContext would leak as it was only accessible through a local variable that goes out of scope when one goes to fail. Furthermore, in case writing a header of a submuxer failed, the options used for said call could leak. Both of these memleaks have been fixed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/gifdec.c')
0 files changed, 0 insertions, 0 deletions