From: Ben Pfaff Date: Sat, 5 Feb 2011 05:33:47 +0000 (-0800) Subject: i18n: Always allocate from pool in recode_substring_pool(). X-Git-Tag: v0.7.7~79 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=c0d0b8039a3cd836398a76a0a884d6166ed761e0 i18n: Always allocate from pool in recode_substring_pool(). --- diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c index 5d03d19a..59665bee 100644 --- a/src/libpspp/i18n.c +++ b/src/libpspp/i18n.c @@ -208,7 +208,7 @@ recode_substring_pool (const char *to, const char *from, if ( (iconv_t) -1 == conv ) { struct substring out; - ss_alloc_substring (&out, text); + ss_alloc_substring_pool (&out, text, pool); return out; }