func: void bad() twoIntsStruct * data ; data = NULL; CWE401_Memory_Leak__twoIntsStruct_calloc_84_bad * badObject = new CWE401_Memory_Leak__twoIntsStruct_calloc_84_bad ( data ) ; CWE401_Memory_Leak__twoIntsStruct_calloc_84_bad::CWE401_Memory_Leak__twoIntsStruct_calloc_84_bad(twoIntsStruct * dataCopy) data = ( twoIntsStruct * ) calloc ( 100 , sizeof ( twoIntsStruct ) ); data [ 0 ] . intOne = 0; data [ 0 ] . intTwo = 0; printStructLine ( & data [ 0 ] ); void printStructLine (const twoIntsStruct * structTwoIntsStruct) printf ( "%d -- %d\n" , structTwoIntsStruct -> intOne , structTwoIntsStruct -> intTwo ); 