Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / data / mdd-writer.c
index 5e5eaa743dc0b639715329ee00d3c76185b38eed..10728e8cbdf988b0181990b0338808465b8a0005 100644 (file)
@@ -448,7 +448,7 @@ bool
 mdd_write (struct file_handle *fh, struct dictionary *dict,
            const char *sav_name)
 {
-  struct mdd_writer *w = xzalloc (sizeof *w);
+  struct mdd_writer *w = XZALLOC (struct mdd_writer);
   size_t n_vars = dict_get_var_cnt (dict);
 
   /* Open file handle as an exclusive writer. */