mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-08 06:31:56 +00:00
path-util: plug leak
This commit is contained in:
@@ -524,6 +524,9 @@ fallback:
|
||||
return -errno;
|
||||
}
|
||||
|
||||
free(parent);
|
||||
parent = NULL;
|
||||
|
||||
r = path_get_parent(t, &parent);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user