{
case -1:
error (0, 0,
- _("unknown configuration parameter `%s' for Cairo device "
- "driver"), key);
+ _("unknown configuration parameter `%s' for %s device "
+ "driver"), key, this->class->name);
break;
case output_file_arg:
free (options->file_name);
chart_geometry_init (x->cairo, &geom,
xr_to_pt (this->width), xr_to_pt (this->length));
chart_draw (chart, x->cairo, &geom);
- chart_geometry_free (x->cairo);
+ chart_geometry_free (x->cairo, &geom);
cairo_restore (x->cairo);
outp_close_page (this);