func: static void goodG2B() wchar_t * data ; data = NULL; CWE762_Mismatched_Memory_Management_Routines__new_free_wchar_t_84_goodG2B * goodG2BObject = new CWE762_Mismatched_Memory_Management_Routines__new_free_wchar_t_84_goodG2B ( data ) ; CWE762_Mismatched_Memory_Management_Routines__new_free_wchar_t_84_goodG2B::CWE762_Mismatched_Memory_Management_Routines__new_free_wchar_t_84_goodG2B(wchar_t * dataCopy) data = dataCopy; data = ( wchar_t * ) malloc ( 100 * sizeof ( wchar_t ) ); delete goodG2BObject CWE762_Mismatched_Memory_Management_Routines__new_free_wchar_t_84_goodG2B::~CWE762_Mismatched_Memory_Management_Routines__new_free_wchar_t_84_goodG2B() free ( data ); 