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.