void main_sink(struct_type my_struct);void main(){twoints * data;struct_type my_struct;data=NULL;data=(twoints *)calloc(100, sizeof(twoints));my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){twoints * data=my_struct.a;delete [] data;}
static void main(){twoints * data;struct_type my_struct;data=NULL;data=(twoints *)calloc(100, sizeof(twoints));my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){twoints * data=my_struct.a;free(data);}