From b406aae790fe8f4cf331fa7fac629b418a674754 Mon Sep 17 00:00:00 2001 From: Ariel Manzur Date: Sun, 24 Jan 2016 02:00:52 -0300 Subject: [PATCH] total pointers --- drivers/unix/memory_pool_static_malloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/unix/memory_pool_static_malloc.cpp b/drivers/unix/memory_pool_static_malloc.cpp index 1a79272dc18..e75b682c198 100644 --- a/drivers/unix/memory_pool_static_malloc.cpp +++ b/drivers/unix/memory_pool_static_malloc.cpp @@ -321,7 +321,7 @@ size_t MemoryPoolStaticMalloc::get_max_usage() { /* Most likely available only if memory debugger was compiled in */ int MemoryPoolStaticMalloc::get_alloc_count() { - return 0; + return total_pointers; } void * MemoryPoolStaticMalloc::get_alloc_ptr(int p_alloc_idx) {