Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / data / file-handle-def.c
index 075f7b07901c79150e84b1b27014ca7202270d53..de09ae39a75566b664995442667fcf73757b43f6 100644 (file)
@@ -221,7 +221,7 @@ static struct file_handle *
 create_handle (const char *id, char *handle_name, enum fh_referent referent,
                const char *encoding)
 {
-  struct file_handle *handle = xzalloc (sizeof *handle);
+  struct file_handle *handle = XZALLOC (struct file_handle);
 
   handle->ref_cnt = 1;
   handle->id = xstrdup_if_nonnull (id);