FFmpeg/libavformat
Andreas Rheinhardt 021e1aa6b8 avformat/segment: Fix leak of string on error
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>
(cherry picked from commit 3152a2a218578ad3c024dcd7d4ced06b396d30e1)
2021-02-27 07:21:00 +01:00
..
2021-02-20 14:21:24 +01:00
2021-02-02 14:18:21 +01:00
2019-12-12 19:25:33 +01:00
2020-05-31 00:55:12 +02:00
2020-11-08 00:26:11 +10:00
2019-12-12 19:25:33 +01:00
2020-03-17 22:46:36 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2021-02-02 14:18:21 +01:00
2020-03-17 16:05:49 +01:00
2021-02-02 14:18:21 +01:00
2019-12-12 19:25:33 +01:00
2020-03-17 16:04:42 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-03-17 16:08:13 +01:00
2020-05-30 18:02:55 +02:00
2020-05-19 20:09:25 +02:00
2021-02-02 14:18:21 +01:00
2020-05-31 00:55:12 +02:00
2020-04-19 02:37:46 +02:00
2021-02-02 14:18:21 +01:00
2020-03-17 22:46:36 +01:00
2021-02-02 14:18:21 +01:00
2020-06-06 00:25:00 +02:00
2020-06-06 00:25:00 +02:00
2020-05-19 20:09:25 +02:00
2020-02-16 12:54:57 +01:00
2021-02-20 14:21:24 +01:00
2020-06-04 10:52:42 +02:00
2020-06-14 22:02:34 +02:00
2019-12-12 19:25:33 +01:00
2020-03-08 19:08:04 +01:00
2020-02-20 14:41:26 +01:00
2020-03-12 18:47:39 +01:00
2021-02-02 14:18:21 +01:00