Branch: Tag:

2014-04-27

2014-04-27 18:31:29 by Martin Nilsson <nilsson@opera.com>

Free takes void* and doesn't need any cast anymore.

2056:    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
3539:   #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;