diff --git a/mix/CodeModel.cpp b/mix/CodeModel.cpp index 424732c2b..d0f70683d 100644 --- a/mix/CodeModel.cpp +++ b/mix/CodeModel.cpp @@ -198,7 +198,7 @@ CodeModel::~CodeModel() disconnect(this); releaseContracts(); if (m_gasCostsMaps) - m_gasCostsMaps->deleteLater(); + delete m_gasCostsMaps; } void CodeModel::stop()