func: static void goodB2G() char * data ; data = NULL; CWE762_Mismatched_Memory_Management_Routines__delete_char_malloc_84_goodB2G * goodB2GObject = new CWE762_Mismatched_Memory_Management_Routines__delete_char_malloc_84_goodB2G ( data ) ; CWE762_Mismatched_Memory_Management_Routines__delete_char_malloc_84_goodB2G::CWE762_Mismatched_Memory_Management_Routines__delete_char_malloc_84_goodB2G(char * dataCopy) data = dataCopy; data = ( char * ) malloc ( 100 * sizeof ( char ) ); delete goodB2GObject CWE762_Mismatched_Memory_Management_Routines__delete_char_malloc_84_goodB2G::~CWE762_Mismatched_Memory_Management_Routines__delete_char_malloc_84_goodB2G() free ( data ); 