From 62c0689012de2786ed2fae3da84b5301d6b49a55 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 8 Aug 2015 21:13:48 +0000 Subject: Fix memory leak tracking of calloc() allocations --- lib/common/MemLeakFindOn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/common/MemLeakFindOn.h') 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 -- cgit v1.2.3