delete given only a pointer