func: static void goodB2G() wchar_t * data ; data = NULL; CWE690_NULL_Deref_From_Return__wchar_t_realloc_84_goodB2G * goodB2GObject = new CWE690_NULL_Deref_From_Return__wchar_t_realloc_84_goodB2G ( data ) ; CWE690_NULL_Deref_From_Return__wchar_t_realloc_84_goodB2G::CWE690_NULL_Deref_From_Return__wchar_t_realloc_84_goodB2G(wchar_t * dataCopy) data = dataCopy; data = ( wchar_t * ) realloc ( data , 20 * sizeof ( wchar_t ) ); delete goodB2GObject CWE690_NULL_Deref_From_Return__wchar_t_realloc_84_goodB2G::~CWE690_NULL_Deref_From_Return__wchar_t_realloc_84_goodB2G() if ( data != NULL )  wcscpy ( data , L "Initialize" ) free ( data ); 