pike.git/
src/
interpret.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:26:00 by Martin Nilsson <nilsson@opera.com>
26bb95b754db9c912819acc4d17b421444940981 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
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;