Files
FFmpeg/libavfilter
Andreas Rheinhardt 3b3d85c26e avfilter/graphparser: Fix leaks when parsing inputs fails
parse_inputs() uses a temporary linked list to parse the labeled inputs
of a filter; said linked list owns its elements (and their names). On
success, the list of unlabeled inputs is appened to the end of the list
of labeled inputs and the new list is returned; yet on failures, nothing
frees the already existing elements of the temporary linked list, leading
to a leak.

This can be triggered by e.g. using '-vf [v][' in the FFmpeg
command-line tool.

This leak seems to exist since 4e781c25b7.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit b3f6dee728)
2021-02-27 07:20:56 +01:00
..
2020-02-14 09:59:27 +01:00
2020-05-23 15:50:20 +02:00
2020-03-17 22:46:36 +01:00
2019-10-01 14:55:43 +02:00
2016-12-01 09:53:38 +01:00
2019-05-14 15:17:14 +02:00
2020-04-30 12:18:36 +02:00
2019-12-10 16:09:14 +01:00
2017-11-26 14:05:25 +01:00
2020-03-17 22:46:36 +01:00
2020-05-30 18:04:14 +02:00
2020-02-07 17:07:30 +01:00
2020-03-17 22:46:36 +01:00
2018-11-15 14:44:24 +01:00
2018-06-21 00:31:42 +01:00
2018-05-05 21:50:22 +02:00
2020-03-17 22:46:36 +01:00
2017-01-12 10:22:52 +01:00
2020-05-23 15:51:45 +02:00
2016-01-28 19:49:48 -08:00
2017-07-08 11:49:54 +02:00
2020-05-30 18:04:14 +02:00
2020-02-14 21:49:47 +01:00
2016-01-31 15:44:11 -08:00
2016-01-28 19:49:48 -08:00
2019-10-02 21:05:25 +02:00
2019-10-23 12:37:46 +02:00
2019-09-30 16:39:39 +02:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2019-07-28 22:34:33 +01:00
2018-06-21 00:31:42 +01:00
2020-02-29 22:31:01 +01:00
2019-10-01 14:55:43 +02:00
2020-05-30 18:04:14 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2019-09-26 08:10:31 +08:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2019-04-20 00:20:07 +02:00
2020-03-17 22:46:36 +01:00
2020-03-24 15:04:52 +05:30
2019-10-18 21:57:20 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2020-03-17 22:46:36 +01:00
2019-10-20 18:06:26 +02:00
2020-05-23 15:52:27 +02:00
2020-03-17 22:46:36 +01:00
2020-04-18 12:34:49 +02:00
2019-09-25 21:48:59 +02:00
2017-12-23 10:48:14 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00