Previous | Table of Contents | Next |
The values for output argument data types that are unbounded strings or unbounded sequences are returned as pointers to dynamically
allocated memory. In order to facilitate the freeing of all “out-arg memory,? the request routines provide a mechanism for
grouping, or keeping track of, this memory. If so specified, out-arg memory is associated with the argument list passed to
the create request routine. When the list is deleted, the associated out-arg memory will automatically be freed.
If the programmer chooses not to associate out-arg memory with an argument list, the programmer is responsible for freeing
each out parameter using CORBA_free(), which is discussed in the C Language Mapping specification (Mapping for Structure Types
section).