1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

Merge pull request #346 from poettering/install-bad-memory

install: fix minor bad memory access
This commit is contained in:
Daniel Mack 2015-06-24 10:09:43 +02:00
commit 54af0c65f7

View File

@ -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