1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

install: fix bad memory access

This commit is contained in:
Lennart Poettering 2015-06-23 19:16:18 -04:00
parent 3ed18ce28c
commit 25d40bf57c

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