0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 16:44:39 +03:00

Finish 1.5.59

This commit is contained in:
Arin Alexander 2020-06-27 11:23:47 +03:00
commit 30298cd226

View File

@ -1437,13 +1437,13 @@ void DataSourceManager::clear(ClearMethod method)
case All: case All:
invalidateLinkedDatasources(dit.key()); invalidateLinkedDatasources(dit.key());
delete dit.value(); delete dit.value();
m_datasources.erase(dit++); dit = m_datasources.erase(dit);
break; break;
default: default:
if (owned){ if (owned){
invalidateLinkedDatasources(dit.key()); invalidateLinkedDatasources(dit.key());
delete dit.value(); delete dit.value();
m_datasources.erase(dit++); dit = m_datasources.erase(dit);
} else { } else {
++dit; ++dit;
} }