Re: [U-Boot] [PATCH 03/10] ext4: free allocations by parse_path()

2015-09-08 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > parse_path() malloc()s the entries in the array it's passed. Those > allocations must be free()d by the caller, > ext4fs_get_parent_inode_num(). Add code to do this. > > For this to work, all the array entries must be dynamically

[U-Boot] [PATCH 03/10] ext4: free allocations by parse_path()

2015-09-04 Thread Stephen Warren
From: Stephen Warren parse_path() malloc()s the entries in the array it's passed. Those allocations must be free()d by the caller, ext4fs_get_parent_inode_num(). Add code to do this. For this to work, all the array entries must be dynamically allocated, rather than a mix of