From 9ba5d0b14f940bd536a7c2b78e8925e7b9aaf91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 22 Nov 2008 20:28:39 +0000 Subject: [PATCH] Memory leak: The 'realloc' shouldn't be treated exactly like 'malloc' --- CheckMemoryLeak.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/CheckMemoryLeak.cpp b/CheckMemoryLeak.cpp index 77d3ac2c7..fff934e57 100644 --- a/CheckMemoryLeak.cpp +++ b/CheckMemoryLeak.cpp @@ -86,7 +86,6 @@ CheckMemoryLeakClass::AllocType CheckMemoryLeakClass::GetAllocationType( const T // Does tok2 point on "malloc", "strdup" or "kmalloc".. const char *mallocfunc[] = {"malloc", "calloc", - "realloc", "strdup", "kmalloc", "kzalloc",