Browse Source

total pointers

Ariel Manzur 9 years ago
parent
commit
b406aae790
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/unix/memory_pool_static_malloc.cpp

+ 1 - 1
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) {