Memory Leak: Better checking of memory leaks in gtk applications
This commit is contained in:
parent
b235c373a5
commit
d839fcb5ba
|
@ -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++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue