If we run out of memory when trying to malloc a new Java stack we will crash
rather than at least exiting politely:
JavaStack *CreateNewJavaStack(ExecEnv *ee, JavaStack *previous_stack)
{
JavaStack *stack;
...
stack = malloc(sizeof (*stack));
stack->execenv = ee;
rather than at least exiting politely:
JavaStack *CreateNewJavaStack(ExecEnv *ee, JavaStack *previous_stack)
{
JavaStack *stack;
...
stack = malloc(sizeof (*stack));
stack->execenv = ee;