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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Apr 2016 22:05:16 +0000 (00:05 +0200)
commitf9b3ef7e5d25db9c35ebb61ba70bb502174c8b5d
treeec73877e47e9f50caf9d1915391bad7bdf0e1da9
parent49c27d2f5606239806bb4527c2fd19d488094fb6
xfs: fix two memory leaks in xfs_attr_list.c error paths

commit 2e83b79b2d6c78bf1b4aa227938a214dcbddc83f upstream.

This plugs 2 trivial leaks in xfs_attr_shortform_list and
xfs_attr3_leaf_list_int.

Signed-off-by: Mateusz Guzik <mguzik@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/xfs/xfs_attr_leaf.c