|
From: No I. <the...@gm...> - 2010-04-02 07:53:48
|
A cursory search through the source code indicates that MEMPOOL_ALLOC calls new_block, which increments cmalloc_n_mallocs, but there is no corresponding change to cmalloc_n_frees in MEMPOOL_FREE. Here's a patch that increments it at the very end of MEMPOOL_FREE. This gives me the behavior I expect. |