This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libdw: Don't leak arange if we cannot figure out which CU it belongs to.
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Date: Fri, 08 Jun 2018 12:08:29 +0200
- Subject: Re: [PATCH] libdw: Don't leak arange if we cannot figure out which CU it belongs to.
- References: <1528231467-2742-1-git-send-email-mark@klomp.org>
On Tue, 2018-06-05 at 22:44 +0200, Mark Wielaard wrote:
> In the unlikely case that __libdw_findcu fails to find the associated
> CU we would leak one arange because it wasn't linked into the arangelist
> list yet. Make sure to free it immediately.
Pushed to master.