The most important point is , The way in which the object is created .
If the object is created on stack - the object will be destroyed twice resulting in crash . First time when delete this is called second time when the stack unwinds.
But if the object is created in heap - delete this may work but that should be the last line using the object.