func: static void goodB2G() wchar_t * data ; data = NULL; wchar_t myString [ ] = L "myString" data = wcsdup ( myString ); CWE401_Memory_Leak__strdup_wchar_t_52b_goodB2GSink ( data ); void CWE401_Memory_Leak__strdup_wchar_t_52b_goodB2GSink(wchar_t * data) CWE401_Memory_Leak__strdup_wchar_t_52c_goodB2GSink ( data ); void CWE401_Memory_Leak__strdup_wchar_t_52c_goodB2GSink(wchar_t * data) free ( data ); 