partial revert of fed6df8

This one was acutally used to free xattr
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2015-02-03 21:35:14 +01:00
parent 261420ba2a
commit 4cd552bc50

View file

@ -630,7 +630,7 @@ static int get_xattrs_from_arg(Item *i) {
while ((r = unquote_first_word(&p, &xattr, false)) > 0) {
_cleanup_free_ char *tmp = NULL, *name = NULL,
*value = NULL, *value2 = NULL;
*value = NULL, *value2 = NULL, *_xattr = xattr;
r = split_pair(xattr, "=", &name, &value);
if (r < 0) {