This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libdwfl: Fix memory leak in cache_sections.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 09 Jun 2015 22:54:51 +0200
- Subject: Re: [PATCH] libdwfl: Fix memory leak in cache_sections.
On Sat, Jun 06, 2015 at 10:56:16PM +0200, Mark Wielaard wrote:
> commit be1778 libdwfl: Fix possible unbounded stack usage in cache_sections.
> introduced a memory leak. The refs pointers were copied to the sortrefs
> array but never freed. Only the array was freed. Also free the elements.
Pushed to master.