diff options
author | Daniel Mack <github@zonque.org> | 2015-06-24 10:09:43 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-06-24 10:09:43 +0200 |
commit | 54af0c65f741d7686f80f5c8827ea02aa3d4db47 (patch) | |
tree | 32a697752e60b4408f5558c626f8c334b419fda2 /src/shared/install.c | |
parent | 482db06ff81926a7becb976483f81703cbec04b6 (diff) | |
parent | 25d40bf57cd0b850f479c00528b4378e02f2d841 (diff) |
Merge pull request #346 from poettering/install-bad-memory
install: fix minor bad memory access
Diffstat (limited to 'src/shared/install.c')
-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 |