| 358 | } |
| 359 | |
| 360 | void |
| 361 | Serializer::free_string(ACE_CDR::Char* str, |
| 362 | StrFree str_free) |
| 363 | { |
| 364 | if (str_free == 0) { |
| 365 | #ifdef OPENDDS_UTIL_BUILD |
| 366 | str_free = string_free; |
| 367 | #else |
| 368 | str_free = CORBA::string_free; |
| 369 | #endif |
| 370 | } |
| 371 | str_free(str); |
| 372 | } |
| 373 | |
| 374 | size_t |
| 375 | Serializer::read_string(ACE_CDR::WChar*& dest, |