Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix memory leak in EmergeManager
  • Loading branch information
PilzAdam committed Jul 6, 2014
1 parent 37b7f09 commit 6bd1524
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/emerge.cpp
Expand Up @@ -156,6 +156,11 @@ EmergeManager::~EmergeManager() {
mglist.clear();

delete biomedef;

if (params.sparams) {
delete params.sparams;
params.sparams = NULL;
}
}


Expand Down

0 comments on commit 6bd1524

Please sign in to comment.