summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cull_list.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp
index 12bd34003..3f2050679 100644
--- a/src/cull_list.cpp
+++ b/src/cull_list.cpp
@@ -197,6 +197,7 @@ int CullList::Apply()
delete u;
}
+ delete *list.begin();
list.erase(list.begin());
exempt.erase(exemptiter);
}