summaryrefslogtreecommitdiff
path: root/docs/tools
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-09-29 21:59:05 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-09-29 22:20:20 -0400
commita92859a44799c5137279603b28f0670256bda2e9 (patch)
treee4d4178681e7bb936e7088a238ffb991d9d2f42d /docs/tools
parent212baf177afcadf3a2cd6539f23368148b2dcd00 (diff)
downloadgtk+-a92859a44799c5137279603b28f0670256bda2e9.tar.gz
Revert "shooter: Make sure to free the surface"
This reverts commit 1a0c5acb26bee3df52b75cf34b95c4d93810f3b7.
Diffstat (limited to 'docs/tools')
-rw-r--r--docs/tools/shooter.c1
1 files changed, 0 insertions, 1 deletions
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;