Re: [PATCH v2] btrfs-progs: fix memory leaks in error path

2015-08-25 Thread David Sterba
On Fri, Aug 21, 2015 at 05:51:52PM +0900, Byongho Lee wrote: > This patch includes below fixes in error path: > 1. fix memory leaks if realloc() fails > 2. add missing call free_history() before return error in scrub_read_file() > > Signed-off-by: Byongho Lee > --- > changelog: > v2: > Add one

RE: [PATCH v2] btrfs-progs: fix memory leaks in error path

2015-08-21 Thread Zhao Lei
Reviewed-by: Zhao Lei > -Original Message- > From: linux-btrfs-ow...@vger.kernel.org > [mailto:linux-btrfs-ow...@vger.kernel.org] On Behalf Of Byongho Lee > Sent: Friday, August 21, 2015 4:52 PM > To: linux-btrfs@vger.kernel.org > Subject: [PATCH v2] btrfs-progs: fix memory leaks in error