diff options
author | Andreas Rheinhardt <[email protected]> | 2019-12-26 11:53:28 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2020-03-14 22:07:27 +0100 |
commit | abbb466368c51285ca27d5e3959a16a9591e9a4c (patch) | |
tree | 305f073b5e9ae7602176ededf8f494e99ddabac0 /libavformat/gxfenc.c | |
parent | 6e9cc964293bf1e0cca6a52b2938a20d711e4146 (diff) |
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/gxfenc.c')
0 files changed, 0 insertions, 0 deletions