umount: Fix memory leak
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user