systemctl: fix memory leak (#7289)

Fixes: #7283
This commit is contained in:
John Lin 2017-11-10 17:32:25 +08:00 committed by Lennart Poettering
parent ed457f1380
commit ff21046656
1 changed files with 1 additions and 1 deletions

View File

@ -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;