From fcd574d4c10850f1b27146c0e9b07518ea7b9728 Mon Sep 17 00:00:00 2001 From: "Thomas H. P. Andersen" Date: Tue, 3 Jan 2017 21:02:39 +0100 Subject: [PATCH] path-lookup: use correct cleanup function for strv (#5007) --- src/shared/path-lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index a23d09967e..586ef64e72 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -139,7 +139,7 @@ static char** user_dirs( const char *e; _cleanup_strv_free_ char **config_dirs = NULL, **data_dirs = NULL; _cleanup_free_ char *data_home = NULL; - _cleanup_free_ char **res = NULL; + _cleanup_strv_free_ char **res = NULL; char **tmp; int r;