diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-06-23 19:16:18 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-06-23 19:16:18 -0400 |
commit | 25d40bf57cd0b850f479c00528b4378e02f2d841 (patch) | |
tree | b932295916e98d668e640a95b8deb7cf0aa65e97 /src/shared | |
parent | 3ed18ce28c2a8058fa740ad27436a2d73f096488 (diff) | |
download | systemd-25d40bf57cd0b850f479c00528b4378e02f2d841.tar.gz systemd-25d40bf57cd0b850f479c00528b4378e02f2d841.tar.bz2 systemd-25d40bf57cd0b850f479c00528b4378e02f2d841.zip |
install: fix bad memory access
Diffstat (limited to 'src/shared')
-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 6172c42d69..559fda211d 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 |