chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62804d0
)
install: fix bad memory access
author
Lennart Poettering
<lennart@poettering.net>
Tue, 23 Jun 2015 23:16:18 +0000
(19:16 -0400)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:05:25 +0000
(10:05 +0100)
src/shared/install.c
patch
|
blob
|
history
diff --git
a/src/shared/install.c
b/src/shared/install.c
index 6172c42d692099eaee52b177bb4883fa7187c37f..559fda211dbd95b581d0eccc171392e048f3cbc7 100644
(file)
--- 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