func: void bad() wchar_t * data ; data = NULL; CWE401_Memory_Leak__wchar_t_realloc_84_bad * badObject = new CWE401_Memory_Leak__wchar_t_realloc_84_bad ( data ) ; CWE401_Memory_Leak__wchar_t_realloc_84_bad::CWE401_Memory_Leak__wchar_t_realloc_84_bad(wchar_t * dataCopy) data = dataCopy; data = ( wchar_t * ) realloc ( data , 100 * sizeof ( wchar_t ) ); wcscpy ( data , L "A String" ) printWLine ( data ); void printWLine (const wchar_t * line) if ( line != NULL )  wprintf ( L "%ls\n" , line ) 