From c0d0b8039a3cd836398a76a0a884d6166ed761e0 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 4 Feb 2011 21:33:47 -0800 Subject: [PATCH] i18n: Always allocate from pool in recode_substring_pool(). --- src/libpspp/i18n.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2