char *buf = (char *)malloc(out_size+1);
if (buf == NULL)
+ {
+ iconv_close(i2utf8);
throw runtime_error("out of memory for iconv buffer");
+ }
char *in = (char *)isostring.c_str();
char *out = buf;
char *buf = (char *)malloc(out_size+1);
if (buf == NULL)
+ {
+ iconv_close(utf82iso);
throw runtime_error("out of memory for iconv buffer");
+ }
char *in = (char *)utf8string.c_str();
char *out = buf;
wchar_t *buf = (wchar_t *)malloc(out_size);
if (buf == NULL)
+ {
+ iconv_close(utf82wstr);
throw runtime_error("out of memory for iconv buffer");
+ }
char *in = (char *)utf8string.c_str();
char *out = (char*) buf;
char *buf = (char *)malloc(out_size+1);
if (buf == NULL)
+ {
+ iconv_close(utf7imap2utf8);
throw runtime_error("out of memory for iconv buffer");
+ }
char *in = (char *)utf7imapstring.c_str();
char *out = buf;
char *buf = (char *)malloc(out_size+1);
if (buf == NULL)
+ {
+ iconv_close(utf82utf7imap);
throw runtime_error("out of memory for iconv buffer");
+ }
char *in = (char *)utf8string.c_str();
char *out = buf;