Skip to content

Commit

Permalink
try to fix a memory leak occuring in basf2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojosito committed Apr 7, 2016
1 parent 1cf2d60 commit 3feac67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GFRave/src/GFRaveVertexFactory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ GFRaveVertexFactory::findVertices ( std::vector < genfit::GFRaveVertex* > * GFv
IdGFTrackStateMap_);
}
catch(Exception & e){
clearMap();
std::cerr << e.what();
}

clearMap();
}


Expand All @@ -98,9 +100,11 @@ GFRaveVertexFactory::findVertices ( std::vector < genfit::GFRaveVertex* > * GFv
IdGFTrackStateMap_);
}
catch(Exception & e){
clearMap();
std::cerr << e.what();
}

clearMap();
}


Expand Down

0 comments on commit 3feac67

Please sign in to comment.