Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / output / spv-driver.c
index 1eb57f7f16001a6befb951e8817c9010a6b21d94..707e82abfa33afe34348743664bcc176a13a6fce 100644 (file)
@@ -52,9 +52,7 @@ spv_create (struct file_handle *fh, enum settings_output_devices device_type,
             struct string_map *o UNUSED)
 {
   struct output_driver *d;
-  struct spv_driver *spv;
-
-  spv = xzalloc (sizeof *spv);
+  struct spv_driver *spv = XZALLOC (struct spv_driver);
   d = &spv->driver;
   spv->handle = fh;
   output_driver_init (&spv->driver, &spv_driver_class, fh_get_file_name (fh),