Let the C++ compiler take care for freeing the objects safely.
Attach a file by drag & drop or click to upload