func: void CWE401_Memory_Leak__wchar_t_realloc_61_bad() wchar_t * data ; data = NULL; data = CWE401_Memory_Leak__wchar_t_realloc_61b_badSource ( data ); wchar_t * CWE401_Memory_Leak__wchar_t_realloc_61b_badSource(wchar_t * data) 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 ) return data ; 