diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-08-08 21:13:48 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-08-08 21:13:48 +0000 |
commit | 62c0689012de2786ed2fae3da84b5301d6b49a55 (patch) | |
tree | 2999c3506b4bf9cadac4578b51876feb04883d7d /lib/common/MemLeakFindOn.h | |
parent | b70b4b4429e00a42bf7f652d8eeef59c57a741b6 (diff) |
Fix memory leak tracking of calloc() allocations
Diffstat (limited to 'lib/common/MemLeakFindOn.h')
-rw-r--r-- | lib/common/MemLeakFindOn.h | 1 |
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 |