summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas H. P. Andersen <phomes@gmail.com>2017-01-03 21:02:39 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2017-01-03 21:02:39 +0100
commitfcd574d4c10850f1b27146c0e9b07518ea7b9728 (patch)
tree3056f8abfbf561ab0dae52d8032689a1c2234389 /src
parent1344dfd9c5bafedbe4cdc7d6eaa9a3aa94ce9461 (diff)
path-lookup: use correct cleanup function for strv (#5007)
Diffstat (limited to 'src')
-rw-r--r--src/shared/path-lookup.c2
1 files changed, 1 insertions, 1 deletions
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;