Memory Leak: Better checking of memory leaks in gtk applications

This commit is contained in:
Daniel Marjamäki 2008-10-18 17:43:07 +00:00
parent b235c373a5
commit d839fcb5ba
1 changed files with 11 additions and 0 deletions

View File

@ -82,7 +82,18 @@ static AllocType GetAllocationType( const TOKEN *tok2 )
"strdup",
"kmalloc",
"kzalloc",
"g_new",
"g_new0",
"g_renew",
"g_try_new",
"g_try_new0",
"g_try_renew",
"g_malloc",
"g_malloc0",
"g_realloc",
"g_try_malloc",
"g_try_malloc0",
"g_try_realloc",
0};
for ( unsigned int i = 0; mallocfunc[i]; i++ )
{