Memory allocation

The GLS API performs no memory allocation or deallocation. Therefore, you must allocate an appropriately sized buffer for any ITLocale method that returns a string. You must also deallocate the memory for the buffer when the method is through with it.