1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-29 06:50:16 +03:00

path-lookup: use correct cleanup function for strv (#5007)

This commit is contained in:
Thomas H. P. Andersen 2017-01-03 21:02:39 +01:00 committed by Martin Pitt
parent 1344dfd9c5
commit fcd574d4c1

View File

@ -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;