mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +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) {
|
while (stack) {
|
||||||
Stack* dead = stack;
|
Stack* dead = stack;
|
||||||
stack = dead->next;
|
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