func: void bad() twoIntsStruct * data ; data = NULL; CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad * badObject = new CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad ( data ) ; CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad::CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad(twoIntsStruct * dataCopy) data = dataCopy; data = new twoIntsStruct [ 100 ]; delete badObject CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad::~CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad() free ( data ); 