aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mailing-list-faq.texi
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-15 11:00:02 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-08 15:17:46 +0200
commitfdb6f55209152b2a9b7e97758c8f26d7cb2dc669 (patch)
tree476fe1801b6bf3b1f077a4854173d68494e60cb9 /doc/mailing-list-faq.texi
parent6825f7c0ba0e2021c47ef13440cefc49e50b0b5f (diff)
downloadffmpeg-fdb6f55209152b2a9b7e97758c8f26d7cb2dc669.tar.gz
avformat/hlsenc: Add deinit function
This fixes memleaks in instances such as: a) When an allocation fails at one of the two places in hls_init() where the error is returned immediately without goto fail first. b) When an error happens when writing the header. c) When an allocation fails at one of the three places in hls_write_trailer() where the error is returned immediately without goto fail first. d) When one decides not to write the trailer at all (e.g. because of errors when writing packets). Furthermore, it removes code duplication and allows to return immediately, without goto fail first. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/mailing-list-faq.texi')
0 files changed, 0 insertions, 0 deletions