void main_sink(wchar_t * * data_ptr);void main(){wchar_t * data;data=NULL;data=NULL;data=(wchar_t *)realloc(data, 100*sizeof(wchar_t));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;data=NULL;data=(wchar_t *)realloc(data, 100*sizeof(wchar_t));main_sink(&data);}void main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;free(data);}