userdb: fix memleak

Fixes #14947.
This commit is contained in:
Yu Watanabe 2020-02-27 01:36:34 +09:00 committed by Evgeny Vereshchagin
parent 41db91775a
commit 7c7c44855e
1 changed files with 1 additions and 1 deletions

View File

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