summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-08-07 07:32:19 +0200
committerDaniel Mack <github@zonque.org>2015-08-07 07:32:19 +0200
commit28ba1d6723a5cd2ca6340f9bae3c2517a4439ff2 (patch)
tree39947a8f26580997d6c022b5929042884efe7be6 /src
parentb32545ff19364fe75240dc99bcc0ec6861d1bc61 (diff)
parent388a91b06473b13a59ba217d23b26ca3dc0f2555 (diff)
Merge pull request #904 from keszybz/load-fragment-fix
Load fragment fix
Diffstat (limited to 'src')
-rw-r--r--src/core/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index ba73cc410e..299172123e 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -1986,7 +1986,7 @@ int config_parse_environ(const char *unit,
return log_oom();
FOREACH_WORD_QUOTED(word, l, k, state) {
- _cleanup_free_ char *n;
+ _cleanup_free_ char *n = NULL;
char **x;
r = cunescape_length(word, l, 0, &n);