vm/contexts.cpp: We are only deleting half the contexts because we increment the iter twice per loop! Fixes #1534. Thanks clang!

db4
Doug Coleman 2016-03-01 00:19:43 -08:00
parent 44b9b26baa
commit 67eb64cf00
1 changed files with 0 additions and 1 deletions

View File

@ -98,7 +98,6 @@ void factor_vm::delete_contexts() {
FACTOR_ASSERT(!ctx);
FACTOR_FOR_EACH(unused_contexts) {
delete *iter;
iter++;
}
}