Documentation is very sparse on this but apart from that it's more common to not delete what you have not created, posts like this one suggest you should delete d when you're ready.
I suggest to run a memory profiler like valgrind
which would tell you in case the pointer has not been deleted.
In case you don't delete d valgrind
reports:
400 bytes in 1 blocks are definitely lost in loss record 1 of 1
in operator new[](unsigned long) in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
1: operator new[](unsigned long) in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
2: main in test
So you can be quite sure you have to delete your data (which is good).
Shame on that documentation...