aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tests/parseutils.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-01 23:25:11 +0200
commitcfb42ce4155f10b94c31cb08eaa0582a4333eaeb (patch)
tree85408243f13e197944fd2702a1792c66db3c8495 /libavutil/tests/parseutils.c
parent190e2cb02bd7180c027c334619e5c52b66ead83f (diff)
downloadffmpeg-cfb42ce4155f10b94c31cb08eaa0582a4333eaeb.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 'libavutil/tests/parseutils.c')
0 files changed, 0 insertions, 0 deletions