projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed457f1
)
systemctl: fix memory leak (#7289)
author
John Lin
<johnlinp@gmail.com>
Fri, 10 Nov 2017 09:32:25 +0000
(17:32 +0800)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 10 Nov 2017 09:32:25 +0000
(10:32 +0100)
Fixes: #7283
src/shared/install.c
patch
|
blob
|
history
diff --git
a/src/shared/install.c
b/src/shared/install.c
index
8505df6
..
ed0c4a5
100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-1396,7
+1396,7
@@
static int unit_file_search(
_cleanup_free_ char *template = NULL;
_cleanup_strv_free_ char **dirs = NULL;
- _cleanup_free_ char **files = NULL;
+ _cleanup_
strv_
free_ char **files = NULL;
const char *dropin_dir_name = NULL;
const char *dropin_template_dir_name = NULL;