diff src/mule-charset.c @ 452:3d3049ae1304 r21-2-41

Import from CVS: tag r21-2-41
author cvs
date Mon, 13 Aug 2007 11:40:21 +0200
parents 1ccc32a20af4
children 5bdbc721d46a
line wrap: on
line diff
--- a/src/mule-charset.c	Mon Aug 13 11:39:21 2007 +0200
+++ b/src/mule-charset.c	Mon Aug 13 11:40:21 2007 +0200
@@ -1320,8 +1320,8 @@
 {
   int i, j, k;
 
-  chlook = xnew (struct charset_lookup);
-  dumpstruct (&chlook, &charset_lookup_description);
+  chlook = xnew_and_zero (struct charset_lookup); /* zero for Purify. */
+  dump_add_root_struct_ptr (&chlook, &charset_lookup_description);
 
   /* Table of charsets indexed by leading byte. */
   for (i = 0; i < countof (chlook->charset_by_leading_byte); i++)