|author||Erwan Velu <email@example.com>||Thu Feb 19 13:04:08 2015 +0100|
|committer||Mohamad Ayyash <firstname.lastname@example.org>||Fri Mar 06 17:58:17 2015 -0800|
iolog: Don't leak memory if fread fails in iolog_file_inflate If fread fails in iolog_file_inflate(), the current code was closing the file descriptor and return 1. But it was missing freeing the previously malloced buffer (buf). This patch does add a memory free of 'buf' before returning to avoid the memory leak.