Skip to content
Snippets Groups Projects
Commit 3feac678 authored by Johannes Rauch's avatar Johannes Rauch
Browse files

try to fix a memory leak occuring in basf2

parent 1cf2d604
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,11 @@ GFRaveVertexFactory::findVertices ( std::vector < genfit::GFRaveVertex* > * GFv
IdGFTrackStateMap_);
}
catch(Exception & e){
clearMap();
std::cerr << e.what();
}
clearMap();
}
......@@ -98,9 +100,11 @@ GFRaveVertexFactory::findVertices ( std::vector < genfit::GFRaveVertex* > * GFv
IdGFTrackStateMap_);
}
catch(Exception & e){
clearMap();
std::cerr << e.what();
}
clearMap();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment