--- deliantra/server/common/utils.C 2007/09/09 06:56:10 1.66 +++ deliantra/server/common/utils.C 2007/10/16 05:34:24 1.67 @@ -39,7 +39,7 @@ #include refcnt_base::refcnt_t refcnt_dummy; - +size_t slice_alloc; rand_gen rndm; void @@ -474,6 +474,7 @@ #ifdef PREFER_MALLOC void *ptr = malloc (n); #else + slice_alloc += n; void *ptr = g_slice_alloc (n); #endif