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:
Volker Lanz 2009-12-15 19:12:53 +00:00
parent 72b0cdac0d
commit f09f60029f
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ void PartitionTable::removeUnallocated(PartitionNode* p)
if (child->roles().has(PartitionRole::Unallocated))
{
p->remove(child);
delete child;
continue;
}