pike.git/
src/
interpret.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:23:51 by Arne Goedeke <el@laramies.com>
29270813438e765c4dc2c0b3243eb8acc9814a33 (
9
lines) (+
9
/-
0
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
added valgrind macros for pike_frame and catch_context structs
1132:
else { data->prev = free_catch_context;
+
num_free_catch_ctx++;
-
+
PIKE_MEM_NA(*data);
free_catch_context = data; } }
1144:
{ num_free_catch_ctx--; res = free_catch_context;
+
PIKE_MEM_RW(res->prev);
free_catch_context = res->prev;
-
+
PIKE_MEM_WO(*res);
} else {
1165:
struct catch_context *x = free_catch_context, *n; while( x ) {
+
PIKE_MEM_RW(x->prev);
n = x->prev; free( x ); x = n;
1960:
DO_IF_SECURITY( X->current_creds=0; ) ); X->next = free_pike_frame;
+
PIKE_MEM_NA(*X);
free_pike_frame = X; }
1969:
if( free_pike_frame ) { res = free_pike_frame;
+
PIKE_MEM_RW(res->next);
free_pike_frame = res->next;
-
+
PIKE_MEM_WO(*res);
res->refs=0; add_ref(res); /* For DMALLOC... */ res->flags=0;