[systemd-commits] src/tmpfiles
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Tue Feb 3 12:40:47 PST 2015
src/tmpfiles/tmpfiles.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4cd552bc502077f2626b07b8aa0706c3fb6c7f56
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Feb 3 21:35:14 2015 +0100
partial revert of fed6df8
This one was acutally used to free xattr
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 443851a..96b1fb4 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) {
More information about the systemd-commits
mailing list