[parted-devel] [PATCH v2] libparted: Fix possible memory leaks
Brian C. Lane
bcl at redhat.com
Wed Aug 5 21:51:45 UTC 2015
On Tue, Aug 04, 2015 at 01:04:45PM +0300, Amarnath Valluri wrote:
> Sorry for noice, Please ignore my last patch. This is revised version of
> the same patch.
>
> * libparted/fs/r/fat/resize.c(fat_convert_directory): Possible leak
> of sub_old_dir_trav or sub_new_dir_trav in error case.
> * libparted/fs/r/fat/resize.c(fat_construct_converted_tree ): Possible
> leak of new_trav_info or old_trav_info in error case.
>
> Signed-off-by: Amarnath Valluri <amarnath.valluri at intel.com>
> ---
> libparted/fs/r/fat/resize.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
Thanks, looks good. I've pushed these 3 patches to the master branch.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the parted-devel
mailing list