Skip to content
Snippets Groups Projects
Commit d87a3cc8 authored by Oliver Sander's avatar Oliver Sander
Browse files

fixing a memory leak: the mapper_ member variable needs to be deleted in the destructor

[[Imported from SVN: r2013]]
parent 07f081ea
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,8 @@ namespace Dune {
for(int i=0; i<numOfDiffBase_; i++)
if (baseFuncSet_[i] != 0)
delete baseFuncSet_[i];
delete(mapper_);
}
template< class FunctionSpaceT, class GridType, class IndexSetType , int polOrd, class DofManagerType >
......
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