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)