umount: Fix memory leak

This commit is contained in:
Jan Janssen
2018-03-12 13:40:14 +01:00
parent 6910dceef2
commit 659b15313b
+2
View File
@@ -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);
}