[PATCH] nm: Fix file descriptor leak on dwfl_begin failure.

Mark Wielaard mark@klomp.org
Tue Apr 13 12:46:12 GMT 2021


On Sat, Apr 03, 2021 at 07:54:41PM +0200, Mark Wielaard wrote:
> If dwfl_begin fails we won't use the dwfl_fd descriptor we just dupped.
> Make sure to close on dwfl_begin failure to avoid the leak.

Pushed.


More information about the Elfutils-devel mailing list