From 1b8777aa6b392da9e24c15c3e5844fe8490d2574 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 28 Jul 2009 17:20:23 -0600 Subject: [PATCH] free correct object in Context::dispose --- src/heapwalk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heapwalk.cpp b/src/heapwalk.cpp index f6e2b746fe..12128a6dd1 100644 --- a/src/heapwalk.cpp +++ b/src/heapwalk.cpp @@ -88,7 +88,7 @@ class Context { while (stack) { Stack* dead = stack; stack = dead->next; - thread->m->heap->free(stack, sizeof(Stack)); + thread->m->heap->free(dead, sizeof(Stack)); } }