On Wed, 8 Apr 2020 04:04:53 +0000 Xueming Li <xuemi...@mellanox.com> wrote:
> int n_alloc_free = 0; > + int n_alloc = 0; > + int n_free_alloc = 0; > + int n_free = 0; > + size_t alloc_leak = 0; All statistics should be unsigned, size_t or uint64_t to avoid any wraparound issues.