diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-06-23 19:16:18 -0400 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-14 10:05:25 +0100 |
commit | 1f4b0911241d05c7651b876aff5bc9bb40913a15 (patch) | |
tree | e008e737ec8ef52e4cc610d35eb91ae5090a3493 /src | |
parent | 62804d0390850723e9be6cdd580415fb4f90050d (diff) |
install: fix bad memory access
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index 6172c42d6..559fda211 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -220,7 +220,7 @@ static int remove_marked_symlinks_fd( instance_whitelist && !strv_contains(instance_whitelist, de->d_name)) { - _cleanup_free_ char *w; + _cleanup_free_ char *w = NULL; /* OK, the file is not listed directly * in the whitelist, so let's check if |