func: static void goodB2G() struct _twoIntsStruct * data ; CWE401_Memory_Leak__struct_twoIntsStruct_realloc_67_structType myStruct ; data = NULL; data = ( struct _twoIntsStruct * ) realloc ( data , 100 * sizeof ( struct _twoIntsStruct ) ); data [ 0 ] . intOne = 0; data [ 0 ] . intTwo = 0; myStruct . structFirst = data; CWE401_Memory_Leak__struct_twoIntsStruct_realloc_67b_goodB2GSink ( myStruct ); void CWE401_Memory_Leak__struct_twoIntsStruct_realloc_67b_goodB2GSink(CWE401_Memory_Leak__struct_twoIntsStruct_realloc_67_structType myStruct) struct _twoIntsStruct * data = myStruct . structFirst ; free ( data ); 