Re: [PATCH] libdwfl: Fix memory leak in unzip()

2023-05-08 Thread Mark Wielaard
Hi John, On Thu, 2023-04-27 at 23:04 -0700, John Gallagher wrote: > state.input_buffer is not freed if the file is found to not be > compressed with the compression algorithm unzip() is trying to use. Thanks, pushed. It is clearly correct to call fail here. Although in all my tests input_buffer w

[PATCH] libdwfl: Fix memory leak in unzip()

2023-04-27 Thread John Gallagher
state.input_buffer is not freed if the file is found to not be compressed with the compression algorithm unzip() is trying to use. Signed-off-by: John Gallagher --- libdwfl/ChangeLog | 4 libdwfl/gzip.c| 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libdwfl/ChangeL