xfs: fix two memory leaks in xfs_attr_list.c error paths

commit 2e83b79b2d 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mateusz Guzik 2016-03-02 09:51:09 +11:00 • committed by Greg Kroah-Hartman
commit b34291f71d