diff --git a/src/modules/partition/PartitionCoreModule.cpp b/src/modules/partition/PartitionCoreModule.cpp index 62b56f69c..a67218f0c 100644 --- a/src/modules/partition/PartitionCoreModule.cpp +++ b/src/modules/partition/PartitionCoreModule.cpp @@ -94,6 +94,8 @@ PartitionCoreModule::createPartition( Device* device, PartitionInfo* partitionIn void PartitionCoreModule::deletePartition( Device* device, Partition* partition ) { + m_infoForPartitionHash.remove( partition ); + if ( partition->state() == Partition::StateNew ) { // Find matching CreatePartitionJob