I don't see the corresponding delete for this.  Also, there is no reason I can see to put this on the heap.  `char cstr[11];` should do.