diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-02-26 17:36:34 +0100 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2020-02-26 22:32:33 +0100 |
commit | 7c7c44855e2e652781ecbd09f291b7ad5724309b (patch) | |
tree | 506b9adb24b8cbef86747f394a68a674b800978b /src/userdb | |
parent | Merge pull request #14942 from keszybz/rename-homes (diff) | |
download | systemd-7c7c44855e2e652781ecbd09f291b7ad5724309b.tar.xz systemd-7c7c44855e2e652781ecbd09f291b7ad5724309b.zip |
userdb: fix memleak
Fixes #14947.
Diffstat (limited to 'src/userdb')
-rw-r--r-- | src/userdb/userdbctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userdb/userdbctl.c b/src/userdb/userdbctl.c index f085eb232c..715f0d236b 100644 --- a/src/userdb/userdbctl.c +++ b/src/userdb/userdbctl.c @@ -699,7 +699,7 @@ static int parse_argv(int argc, char *argv[]) { if (isempty(optarg)) arg_services = strv_free(arg_services); else { - char **l; + _cleanup_strv_free_ char **l = NULL; l = strv_split(optarg, ":"); if (!l) |