pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:2049: Inside #if defined(DO_PIKE_CLEANUP)
   num_pike_frames=0;    num_pike_frame_chunks=0;   }   #endif      void really_free_pike_scope(struct pike_frame *scope)   {    if(scope->flags & PIKE_FRAME_MALLOCED_LOCALS)    {    free_mixed_svalues(scope->locals,scope->num_locals); -  free((char *)(scope->locals)); +  free(scope->locals);   #ifdef PIKE_DEBUG    scope->flags&=~PIKE_FRAME_MALLOCED_LOCALS;   #endif    }    really_free_pike_frame(scope);   }      void *lower_mega_apply( INT32 args, struct object *o, ptrdiff_t fun )   {    struct program *p;
pike.git/src/interpret.c:3532: Inside #if defined(USE_MMAP_FOR_STACK)
   }    if(!interpreter->mark_stack_malloced)    {    munmap((char *)interpreter->mark_stack,    Pike_stack_size*sizeof(struct svalue *));    interpreter->mark_stack = 0;    }   #endif       if(interpreter->evaluator_stack) -  free((char *)interpreter->evaluator_stack); +  free(interpreter->evaluator_stack);    if(interpreter->mark_stack) -  free((char *)interpreter->mark_stack); +  free(interpreter->mark_stack);       interpreter->mark_stack = 0;    interpreter->evaluator_stack = 0;    interpreter->mark_stack_malloced = 0;    interpreter->evaluator_stack_malloced = 0;       interpreter->stack_pointer = 0;    interpreter->mark_stack_pointer = 0;    interpreter->frame_pointer = 0;   }