summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/malloc_statistics_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/malloc_statistics_helpers.c')
-rw-r--r--cpukit/libcsupport/src/malloc_statistics_helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/malloc_statistics_helpers.c b/cpukit/libcsupport/src/malloc_statistics_helpers.c
index a574bfb762..5d02f8b822 100644
--- a/cpukit/libcsupport/src/malloc_statistics_helpers.c
+++ b/cpukit/libcsupport/src/malloc_statistics_helpers.c
@@ -42,7 +42,7 @@ void rtems_malloc_statistics_at_malloc(
if ( !pointer )
return;
- _Protected_heap_Get_block_size(&RTEMS_Malloc_Heap, pointer, &actual_size);
+ _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
MSBUMP(lifetime_allocated, actual_size);
@@ -61,7 +61,7 @@ void rtems_malloc_statistics_at_free(
{
size_t size;
- if (_Protected_heap_Get_block_size(&RTEMS_Malloc_Heap, pointer, &size) ) {
+ if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
MSBUMP(lifetime_freed, size);
}
}