This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] Fix sig8_hash memory leak in libdw/dwarf_begin_elf.c if not valid_p.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 19 Dec 2012 09:28:24 -0800
- Subject: Re: [PATCH] Fix sig8_hash memory leak in libdw/dwarf_begin_elf.c if not valid_p.
That looks right enough. But in these cases I usually prefer to define a
local inline function to consolidate the error-path cleanup code in one place.
Thanks,
Roland