pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1939:   }      void really_free_pike_frame(struct pike_frame * f) {    EXIT_BLOCK(f);    ba_free(&pike_frame_allocator, f);   }      void count_memory_in_pike_frames(size_t * num, size_t * size) {    ba_count_all(&pike_frame_allocator, num, size);   } + void free_all_pike_frame_blocks() { +  ba_destroy(&pike_frame_allocator); + }   #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));   #ifdef PIKE_DEBUG