mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +03:00
umount: Fix memory leak
This commit is contained in:
parent
6910dceef2
commit
659b15313b
@ -61,6 +61,8 @@ static void mount_point_free(MountPoint **head, MountPoint *m) {
|
||||
LIST_REMOVE(mount_point, *head, m);
|
||||
|
||||
free(m->path);
|
||||
free(m->options);
|
||||
free(m->type);
|
||||
free(m);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user