mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
free correct object in Context::dispose
This commit is contained in:
parent
8c18f27e89
commit
1b8777aa6b
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user