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