]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: fix two memory leaks in xfs_attr_list.c error paths
authorMateusz Guzik <mguzik@redhat.com>
Tue, 1 Mar 2016 22:51:09 +0000 (09:51 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 1 Mar 2016 22:51:09 +0000 (09:51 +1100)
commit2e83b79b2d6c78bf1b4aa227938a214dcbddc83f
treec8c9f4316f17836a4ed383dfd2fea2b2794d3700
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
xfs: fix two memory leaks in xfs_attr_list.c error paths

This plugs 2 trivial leaks in xfs_attr_shortform_list and
xfs_attr3_leaf_list_int.

Signed-off-by: Mateusz Guzik <mguzik@redhat.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_attr_list.c