Memory leak: The 'realloc' shouldn't be treated exactly like 'malloc'

This commit is contained in:
Daniel Marjamäki 2008-11-22 20:28:39 +00:00
parent 0d3a99adb0
commit 9ba5d0b14f
1 changed files with 0 additions and 1 deletions

View File

@ -86,7 +86,6 @@ CheckMemoryLeakClass::AllocType CheckMemoryLeakClass::GetAllocationType( const T
// Does tok2 point on "malloc", "strdup" or "kmalloc".. // Does tok2 point on "malloc", "strdup" or "kmalloc"..
const char *mallocfunc[] = {"malloc", const char *mallocfunc[] = {"malloc",
"calloc", "calloc",
"realloc",
"strdup", "strdup",
"kmalloc", "kmalloc",
"kzalloc", "kzalloc",