aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emerge.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp
index 443d70384..95a093213 100644
--- a/src/emerge.cpp
+++ b/src/emerge.cpp
@@ -156,6 +156,11 @@ EmergeManager::~EmergeManager() {
mglist.clear();
delete biomedef;
+
+ if (params.sparams) {
+ delete params.sparams;
+ params.sparams = NULL;
+ }
}