https://sourceware.org/bugzilla/show_bug.cgi?id=24086
Mark Wielaard <mark at klomp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Mark Wielaard <mark at klomp dot org> --- It doesn't fix all "leaks" on errors, but it does resolve this particular one: commit 557aa6a4b7b1d678b7c2c3b9aae1dafcc2160c64 Author: Mark Wielaard <m...@klomp.org> Date: Fri Oct 6 16:25:56 2023 +0200 strip: Clean up a bit more after errors In some cases (late) errors would exit early without cleanup. Set result to 1 (failure) in those cases and fallthrough. That way we cleanup and might provide more hints to the user about what was wrong with the file. * src/strip.c (handle_elf): Set result to 1 and fallthrough instead of return 1. Signed-off-by: Mark Wielaard <m...@klomp.org> -- You are receiving this mail because: You are on the CC list for the bug.