mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-21 14:24:19 +00:00
Revert "shooter: Make sure to free the surface"
This reverts commit 1a0c5acb26
.
This commit is contained in:
parent
212baf177a
commit
a92859a447
@ -120,7 +120,6 @@ int main (int argc, char **argv)
|
|||||||
filename = g_strdup_printf ("./%s.png", info->name);
|
filename = g_strdup_printf ("./%s.png", info->name);
|
||||||
g_assert (cairo_surface_write_to_png (surface, filename) == CAIRO_STATUS_SUCCESS);
|
g_assert (cairo_surface_write_to_png (surface, filename) == CAIRO_STATUS_SUCCESS);
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
cairo_surface_destroy (surface);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user