summaryrefslogtreecommitdiff
path: root/lib/common/MemLeakFindOn.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/MemLeakFindOn.h')
-rw-r--r--lib/common/MemLeakFindOn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common/MemLeakFindOn.h b/lib/common/MemLeakFindOn.h
index c20fe25a..f1113184 100644
--- a/lib/common/MemLeakFindOn.h
+++ b/lib/common/MemLeakFindOn.h
@@ -15,6 +15,7 @@
#ifndef MEMLEAKFINDER_MALLOC_MONITORING_DEFINED
#define malloc(X) memleakfinder_malloc(X, __FILE__, __LINE__)
+ #define calloc(X, Y) memleakfinder_calloc(X, Y, __FILE__, __LINE__)
#define realloc memleakfinder_realloc
#define free memleakfinder_free
#define MEMLEAKFINDER_MALLOC_MONITORING_DEFINED