Re: [FFmpeg-devel] [PATCH] swscale/graph: fix memleak of cascaded graphs

2024-12-02 Thread James Almer
On 12/2/2024 7:29 AM, Niklas Haas wrote: From: Niklas Haas Just free them directly and discard the parent context. --- libswscale/graph.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libswscale/graph.c b/libswscale/graph.c index ee9d9847a9..fbad1fe8c3 1006

[FFmpeg-devel] [PATCH] swscale/graph: fix memleak of cascaded graphs

2024-12-02 Thread Niklas Haas
From: Niklas Haas Just free them directly and discard the parent context. --- libswscale/graph.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libswscale/graph.c b/libswscale/graph.c index ee9d9847a9..fbad1fe8c3 100644 --- a/libswscale/graph.c +++ b/libswscale/