[PATCH] xfs: fix two memory leaks in xfs_attr_list.c error paths
Christoph Hellwig
hch at infradead.org
Fri Feb 12 03:27:35 CST 2016
On Wed, Feb 10, 2016 at 07:35:37PM +0100, Mateusz Guzik wrote:
> This plugs 2 trivial leaks in xfs_attr_shortform_list and
> xfs_attr3_leaf_list_int.
Can you please add a out: label before the kmem_free at the end of
the function, return the actual error value there and make all others
returns after the kmem_alloc jump to that label?
More information about the xfs
mailing list