projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1344dfd
)
path-lookup: use correct cleanup function for strv (#5007)
author
Thomas H. P. Andersen
<phomes@gmail.com>
Tue, 3 Jan 2017 20:02:39 +0000
(21:02 +0100)
committer
Martin Pitt
<martin.pitt@ubuntu.com>
Tue, 3 Jan 2017 20:02:39 +0000
(21:02 +0100)
src/shared/path-lookup.c
patch
|
blob
|
history
diff --git
a/src/shared/path-lookup.c
b/src/shared/path-lookup.c
index
a23d099
..
586ef64
100644
(file)
--- 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;