1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt b3f6dee728 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 4e781c25b7b1955d1a9a0b0771c3ce1acb0957bd.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-08-23 19:57:42 +02:00
..
2020-02-14 09:59:27 +01:00
2020-05-23 15:50:20 +02:00
2020-04-30 12:18:36 +02:00
2020-03-17 22:46:36 +01:00
2020-08-23 10:40:55 +02:00
2020-03-17 22:46:36 +01:00
2020-08-20 18:55:19 +02:00
2020-03-17 22:46:36 +01:00
2020-07-08 15:23:43 +02:00
2020-02-14 21:49:47 +01:00
2020-02-04 18:28:04 +01:00
2020-07-08 15:23:43 +02:00
2020-02-29 22:31:01 +01: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
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-05-23 15:52:27 +02:00
2020-03-17 22:46:36 +01:00
2020-04-18 12:34:49 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00