diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c index e05cfb563a..84c993e25c 100644 --- a/docs/tools/shooter.c +++ b/docs/tools/shooter.c @@ -120,7 +120,6 @@ int main (int argc, char **argv) filename = g_strdup_printf ("./%s.png", info->name); g_assert (cairo_surface_write_to_png (surface, filename) == CAIRO_STATUS_SUCCESS); g_free (filename); - cairo_surface_destroy (surface); } return 0;