func: static void goodB2G() int * data ; CWE401_Memory_Leak__int_realloc_67_structType myStruct ; data = NULL; data = ( int * ) realloc ( data , 100 * sizeof ( int ) ); data [ 0 ] = 5; myStruct . structFirst = data; CWE401_Memory_Leak__int_realloc_67b_goodB2GSink ( myStruct ); void CWE401_Memory_Leak__int_realloc_67b_goodB2GSink(CWE401_Memory_Leak__int_realloc_67_structType myStruct) int * data = myStruct . structFirst ; free ( data ); 