systemctl: fix memory leak (#7289)

Fixes: #7283
This commit is contained in:
John Lin
2017-11-10 10:32:25 +01:00
committed by Lennart Poettering
parent ed457f1380
commit ff21046656
+1 -1
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;