[PATCH] libdwfl: proc_maps_report should not fclose the given file.

Mark Wielaard mjw at redhat.com
Wed Sep 18 14:13:40 UTC 2013


On Thu, 2013-09-12 at 15:47 +0200, Mark Wielaard wrote:
> Calling fclose only on bad_report, but not on other errors or success
> is confusing. The caller is always responsible for calling fclose on
> the given file. Otherwise flcose might be called twice (e.g. in
> dwfl_linux_proc_report).

I pushed this to master.



More information about the elfutils-devel mailing list