]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/path-lookup.c
path-lookup: fix minor memleak
[thirdparty/systemd.git] / src / shared / path-lookup.c
index 0b067ddf01d9f5d8e0ef88ce08409792caa1dd54..a289511be5194ea484ea3b22e4845744d9ca8af2 100644 (file)
@@ -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) {