diff options
author | John Lin <johnlinp@gmail.com> | 2017-11-10 10:32:25 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-10 10:32:25 +0100 |
commit | ff21046656a8c56187bf0f58e52d17459196161a (patch) | |
tree | 690a0233a0c399564178d2f7b6d89028a21ae5a7 /src/shared/install.c | |
parent | systemd-firstboot: add vconsole keymap support (#7035) (diff) | |
download | systemd-ff21046656a8c56187bf0f58e52d17459196161a.tar.xz systemd-ff21046656a8c56187bf0f58e52d17459196161a.zip |
systemctl: fix memory leak (#7289)
Fixes: #7283
Diffstat (limited to 'src/shared/install.c')
-rw-r--r-- | src/shared/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index 8505df62ac..ed0c4a5a11 100644 --- 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; |