mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
path-util: plug leak
This commit is contained in:
parent
34a317e1cc
commit
a0539d7753
@ -524,6 +524,9 @@ fallback:
|
||||
return -errno;
|
||||
}
|
||||
|
||||
free(parent);
|
||||
parent = NULL;
|
||||
|
||||
r = path_get_parent(t, &parent);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user