func: static void goodB2G() struct _twoIntsStruct * data ; data = NULL; CWE401_Memory_Leak__struct_twoIntsStruct_calloc_84_goodB2G * goodB2GObject = new CWE401_Memory_Leak__struct_twoIntsStruct_calloc_84_goodB2G ( data ) ; CWE401_Memory_Leak__struct_twoIntsStruct_calloc_84_goodB2G::CWE401_Memory_Leak__struct_twoIntsStruct_calloc_84_goodB2G(struct _twoIntsStruct * dataCopy) data = ( struct _twoIntsStruct * ) calloc ( 100 , sizeof ( struct _twoIntsStruct ) ); data [ 0 ] . intOne = 0; data [ 0 ] . intTwo = 0; printStructLine ( ( twoIntsStruct * ) & data [ 0 ] ); void printStructLine (const twoIntsStruct * structTwoIntsStruct) printf ( "%d -- %d\n" , structTwoIntsStruct -> intOne , structTwoIntsStruct -> intTwo ); 