summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-03 21:35:14 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-03 21:40:30 +0100
commit4cd552bc502077f2626b07b8aa0706c3fb6c7f56 (patch)
tree2d86529b0cc590775a65bdcf23a4babd65300200 /src/tmpfiles
parent261420ba2a20305ad271b6f5f380aa74c5c9dd50 (diff)
partial revert of fed6df8
This one was acutally used to free xattr
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 443851a8aa..96b1fb4d3f 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -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) {