Skip to content
Snippets Groups Projects
Commit dd49596a authored by Markus Blatt's avatar Markus Blatt
Browse files

BugFix: We need to pop the aggregatesMap if aggregation was

unsucessful as we otherwise get a segmentation fault.

Please merge with 1.2

[[Imported from SVN: r996]]
parent 7e297d0c
No related branches found
No related tags found
No related merge requests found
......@@ -669,7 +669,9 @@ namespace Dune
else
dinfo << "Could not build any aggregates. Probably no connected nodes."<<std::endl;
}
aggregatesMap->free();
delete aggregatesMap;
aggregatesMaps_.pop_back();
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment