aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/chromaprint.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-26 11:53:28 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-02 23:56:12 +0200
commitd7fa4cadeaa5e2a33624a73fed1b10b79c75201b (patch)
tree51b4b79e80ee7f0be5f4e9ea85f0e8c3d18a5c48 /libavformat/chromaprint.c
parent94ca3a00c8b6d37f7b66f873041981506e95b6ea (diff)
downloadffmpeg-d7fa4cadeaa5e2a33624a73fed1b10b79c75201b.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> (cherry picked from commit abbb466368c51285ca27d5e3959a16a9591e9a4c) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/chromaprint.c')
0 files changed, 0 insertions, 0 deletions