void main_sink(wchar_t * * data_ptr);void main(){wchar_t * data;data=NULL;{wchar_t mystring[]=L"mystring";data=wcsdup(mystring);}main_sink(&data);}void main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;delete [] data;}
static void main(){wchar_t * data;data=NULL;{wchar_t mystring[]=L"mystring";data=wcsdup(mystring);}main_sink(&data);}void main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;free(data);}