mirror of https://github.com/FFmpeg/FFmpeg.git
A string containing the segment's filename that the segment muxer allocates got only freed in its write_trailer function. This implies that it leaks if write_trailer is never called, e.g. if initializing the child muxer fails. This commit fixes this by freeing the string in the deinit function instead. Reviewed-by: Ridley Combs <rcombs@rcombs.me> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/350/head
parent
936d967871
commit
3152a2a218
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue