Delete unallocated children when removing them from the partition table.
BUG:218679 svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1062714
This commit is contained in:
parent
72b0cdac0d
commit
f09f60029f
|
@ -471,6 +471,7 @@ void PartitionTable::removeUnallocated(PartitionNode* p)
|
|||
if (child->roles().has(PartitionRole::Unallocated))
|
||||
{
|
||||
p->remove(child);
|
||||
delete child;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue