mirror of
				https://github.com/fralx/LimeReport.git
				synced 2025-10-31 05:11:56 +03:00 
			
		
		
		
	DataSourceManager::clear() has been fixed
This commit is contained in:
		| @@ -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; | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user