Memory leak: False positive with g_realloc(). Removed g_realloc() and g_try_realloc() for now. See feature request [ 2395262 ] Check leaks with realloc, g_realloc and

g_try_realloc()
This commit is contained in:
Reijo Tomperi 2008-12-06 11:41:08 +00:00
parent 2f27bf09b8
commit 0ea34d4705
1 changed files with 1 additions and 3 deletions

View File

@ -93,7 +93,7 @@ CheckMemoryLeakClass::AllocType CheckMemoryLeakClass::GetAllocationType( const T
return Malloc;
}
// Does tok2 point on "malloc", "strdup" or "kmalloc"..
// Does tok2 point on "g_malloc", "g_strdup", ..
const char *gmallocfunc[] = {"g_new",
"g_new0",
"g_renew",
@ -102,10 +102,8 @@ CheckMemoryLeakClass::AllocType CheckMemoryLeakClass::GetAllocationType( const T
"g_try_renew",
"g_malloc",
"g_malloc0",
"g_realloc",
"g_try_malloc",
"g_try_malloc0",
"g_try_realloc",
"g_strdup",
"g_strndup",
0};