1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-26 17:25:34 +03:00

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

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;