Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / language / dictionary / mrsets.c
index 5f544766e163703dd2f886c648328df021cd7527..3b96da3a6ceab28a7177416386bcef1d22ca87fa 100644 (file)
@@ -79,11 +79,10 @@ parse_group (struct lexer *lexer, struct dictionary *dict,
              enum mrset_type type)
 {
   const char *subcommand_name = type == MRSET_MD ? "MDGROUP" : "MCGROUP";
-  struct mrset *mrset;
   bool labelsource_varlabel;
   bool has_value;
 
-  mrset = xzalloc (sizeof *mrset);
+  struct mrset *mrset = XZALLOC (struct mrset);
   mrset->type = type;
   mrset->cat_source = MRSET_VARLABELS;