This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libelf: Don't leak memory on failure paths in elf_updatefile.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 19 Jun 2015 13:08:30 +0200
- Subject: Re: [PATCH] libelf: Don't leak memory on failure paths in elf_updatefile.
On Thu, 2015-06-18 at 10:52 +0200, Mark Wielaard wrote:
> When something goes wrong during the update make sure to always free any
> temporary allocated memory (shdr_data and/or scns).
Pushed to master.