aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/allocator.h')
-rw-r--r--Source/charon/allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/allocator.h b/Source/charon/allocator.h
index 20a7ab16a..371ae336f 100644
--- a/Source/charon/allocator.h
+++ b/Source/charon/allocator.h
@@ -143,7 +143,7 @@
*
* @see #allocator_s.report_memory_leaks for description
*/
- #define report_memory_leaks(void) global_allocator->report_memory_leaks(global_allocator);
+ #define report_memory_leaks(void) (global_allocator->report_memory_leaks(global_allocator))
#else
#define allocator_alloc(bytes) (malloc(bytes))
#define allocator_realloc(old,bytes) (realloc(old,bytes))