void main_sink(wchar_t * data);void main(){wchar_t * data;data=NULL;{wchar_t mystring[]=L"mystring";data=wcsdup(mystring);}main_sink(data);}void main_sink(wchar_t * data){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){free(data);}