From: Zbigniew Jędrzejewski-Szmek Date: Sat, 16 Sep 2017 09:31:16 +0000 (+0200) Subject: path-lookup: fix minor memleak X-Git-Tag: v235~78^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23115a607e27e87c0778442ae2c2d79a8bbac0ac;p=platform%2Fupstream%2Fsystemd.git path-lookup: fix minor memleak Introduced in a1f31f4715. --- diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index 0b067dd..a289511 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -701,6 +701,7 @@ void lookup_paths_free(LookupPaths *p) { p->runtime_control = mfree(p->runtime_control); p->root_dir = mfree(p->root_dir); + p->temporary_dir = mfree(p->temporary_dir); } int lookup_paths_reduce(LookupPaths *p) {