summaryrefslogtreecommitdiff
path: root/drivers/unix
diff options
context:
space:
mode:
authorAriel Manzur <ariel@okamstudio.com>2016-01-24 02:00:52 -0300
committerAriel Manzur <ariel@okamstudio.com>2016-01-31 20:23:24 -0300
commitb406aae790fe8f4cf331fa7fac629b418a674754 (patch)
tree7f3597f3b493d906c14e7d544f162979d7dfab4f /drivers/unix
parent5b68608b1032aab7bddc57cb7e2af29df5e222e3 (diff)
total pointers
Diffstat (limited to 'drivers/unix')
-rw-r--r--drivers/unix/memory_pool_static_malloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/memory_pool_static_malloc.cpp b/drivers/unix/memory_pool_static_malloc.cpp
index 1a79272dc1..e75b682c19 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) {