about summary refs log tree commit diff
path: root/iconv/gconv_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_open.c')
-rw-r--r--iconv/gconv_open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iconv/gconv_open.c b/iconv/gconv_open.c
index cf4397eca2..bbe732c88a 100644
--- a/iconv/gconv_open.c
+++ b/iconv/gconv_open.c
@@ -228,6 +228,8 @@ __gconv_open (const char *toset, const char *fromset, __gconv_t *handle,
 			  newp->__trans_fct = runp->trans_fct;
 			  newp->__trans_context_fct = runp->trans_context_fct;
 			  newp->__trans_end_fct = runp->trans_end_fct;
+			  newp->__data = NULL;
+			  newp->__next = NULL;
 
 			  lastp = NULL;
 			  for (endp = result->__data[cnt].__trans;