X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Finstall.c;h=559fda211dbd95b581d0eccc171392e048f3cbc7;hp=6172c42d692099eaee52b177bb4883fa7187c37f;hb=1f4b0911241d05c7651b876aff5bc9bb40913a15;hpb=62804d0390850723e9be6cdd580415fb4f90050d 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