void main_sink(struct_type my_struct);void main(){wchar_t * data;struct_type my_struct;data=NULL;data=NULL;data=(wchar_t *)realloc(data, 100*sizeof(wchar_t));my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){wchar_t * data=my_struct.a;delete [] data;}
static void main(){wchar_t * data;struct_type my_struct;data=NULL;data=new wchar_t[100];my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){wchar_t * data=my_struct.a;delete [] data;}