machinarium: set proper size_guard size in context_stack
@@ -23,6 +23,7 @@ int mm_contextstack_create(mm_contextstack_t *stack, size_t size, size_t size_gu
base += size_guard;
stack->pointer = base;
stack->size = size;
+ stack->size_guard = size_guard;
#ifdef HAVE_VALGRIND
stack->valgrind_stack =
VALGRIND_STACK_REGISTER(stack->pointer, stack->pointer + stack->size);
