X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fspv-driver.c;h=707e82abfa33afe34348743664bcc176a13a6fce;hb=4b9e9bd0e1c0454b637ec05f8e7538a74433f467;hp=1eb57f7f16001a6befb951e8817c9010a6b21d94;hpb=672776c201a00e1a667d37a957e7d2211300d48a;p=pspp diff --git a/src/output/spv-driver.c b/src/output/spv-driver.c index 1eb57f7f16..707e82abfa 100644 --- a/src/output/spv-driver.c +++ b/src/output/spv-driver.c @@ -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),