Is this use of new and delete correct ?

Printable View