1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 03:25:31 +03:00

path-lookup: fix minor memleak

Introduced in a1f31f4715.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-09-16 11:31:16 +02:00
parent 641c0fd14e
commit 23115a607e

View 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) {