Yes, well...

I guess what I am saying is it depends on how you allocated the memory as to whether that particular method is correct. Quite often the incorrect method will compile fine and run fine - but in fact be very very wrong.

So, if you can show the code that you used to allocate the memory - we can tell as to whether delete [] tiles is correct.