Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / data / dictionary.c
index 9c73e0ea442229bbaa25ad1181ab5d405812e31d..ab4642a4da493c536b499a60e71479cbb14f7670 100644 (file)
@@ -250,7 +250,7 @@ dict_copy_callbacks (struct dictionary *dest,
 struct dictionary *
 dict_create (const char *encoding)
 {
-  struct dictionary *d = xzalloc (sizeof *d);
+  struct dictionary *d = XZALLOC (struct dictionary);
 
   d->encoding = xstrdup (encoding);
   d->names_must_be_ids = true;