func: static void goodG2B() wchar_t * data ; data = NULL; wchar_t * dataBuffer = ( wchar_t * ) malloc ( 100 * sizeof ( wchar_t ) ) ; wmemset ( dataBuffer , L 'A' , 100 - 1 dataBuffer [ 100 - 1 ] = L '\0' data = dataBuffer; CWE590_Free_Memory_Not_on_Heap__free_wchar_t_declare_63b_goodG2BSink ( & data ); void CWE590_Free_Memory_Not_on_Heap__free_wchar_t_declare_63b_goodG2BSink(wchar_t * * dataPtr) wchar_t * data = * dataPtr ; free ( data ); 