Deallocating
If you follow the recommended style of CORBA programming and use _var types as much as possible, you will find that explicit deallocation of CORBA data types is rarely necessary.
Most CORBA data types can be deallocated using the delete operator. The complete list of deallocating methods is shown in Table 4.3.
Deallocation Method | Description |
---|---|
void CORBA::string_free(char *) | This function must always be used to deallocate a CORBA string. If you do not use this method, your C++ code will not be portable across all platforms. |
void CORBA::wstring_free(CORBA::WChar*) | This function must always be used to deallocate a CORBA wide string. If you do not use this method, your C++ code will not be ... |
Get Pure CORBA now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.