Branch: Tag:

2013-10-09

2013-10-09 15:58:23 by Arne Goedeke <el@laramies.com>

interpreter: use PIKE_MEMPOOL_CREATE only once

302:      PMOD_EXPORT void init_interpreter(void)   { + #ifdef USE_VALGRIND +  { +  static int create_mempool = 1; +  +  if (create_mempool) {    PIKE_MEMPOOL_CREATE(&free_pike_frame); -  +  create_mempool = 0; +  } +  } + #endif    if (low_init_interpreter(Pike_interpreter_pointer)) {    Pike_fatal("Out of memory initializing the interpreter stack.\n");    }