Commit ab75d723 authored by Frank Siegert's avatar Frank Siegert
Browse files

Merged r19566 from trunk, fixes #239.

parent d8ac6984
......@@ -63,7 +63,12 @@ Cluster_Formation_Handler::~Cluster_Formation_Handler() {
int Cluster_Formation_Handler::FormClusters(Blob * blob) {
if (blob==NULL) return 1;
assert(m_partlists.empty() && m_clulists.empty());
if (!m_partlists.empty() || !m_clulists.empty()) {
// This might introduce a tiny (!) memory leak, but should fix a
// double free error when retrying the event.
m_partlists.clear();
m_clulists.clear();
}
//msg_Out()<<"\n\n\n\n"
// <<"====================================================\n"
// <<"====================================================\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment