X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fspv-driver.c;h=707e82abfa33afe34348743664bcc176a13a6fce;hb=8f7af0acaf8a9253242d89fcdb26e285841f7833;hp=1eb57f7f16001a6befb951e8817c9010a6b21d94;hpb=7f0d18e1c856e42ef8fc910d785baace2900f7e6;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),