void main(){char * data;data=NULL;{char mystring[]="mystring";data=strdup(mystring);}delete data;}
static void main(){char * data;data=NULL;{char mystring[]="mystring";data=strdup(mystring);}free(data);}