From 67eb64cf0020d2118c54e43b95ab75fa05fb3dae Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 1 Mar 2016 00:19:43 -0800 Subject: [PATCH] vm/contexts.cpp: We are only deleting half the contexts because we increment the iter twice per loop! Fixes #1534. Thanks clang! --- vm/contexts.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/vm/contexts.cpp b/vm/contexts.cpp index 8480ee7bf7..c504da64f2 100644 --- a/vm/contexts.cpp +++ b/vm/contexts.cpp @@ -98,7 +98,6 @@ void factor_vm::delete_contexts() { FACTOR_ASSERT(!ctx); FACTOR_FOR_EACH(unused_contexts) { delete *iter; - iter++; } }