From 7c7c44855e2e652781ecbd09f291b7ad5724309b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 27 Feb 2020 01:36:34 +0900 Subject: [PATCH] userdb: fix memleak Fixes #14947. --- src/userdb/userdbctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)