X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fpath-lookup.c;h=40fb0b8b4a6b8cee2916dd4b588a8e7c7cb57406;hb=1d3bc0177a1952473bbe45b5bbb4e4e4f69a84f4;hp=7a715b713375cb23aa8798762c266e535c6e1e49;hpb=1a40a3393e904fe4683f6d2b2450cfbd94a34000;p=elogind.git diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index 7a715b713..40fb0b8b4 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -212,7 +212,7 @@ int lookup_paths_init( if (!p->unit_path || append) { /* Let's figure something out. */ - char **unit_path; + _cleanup_strv_free_ char **unit_path; int r; /* For the user units we include share/ in the search