From 9ecd70bae96a0c08bca380c97bdf0b2b9e724d95 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 3 Sep 2012 12:50:36 +0200 Subject: ephy-snapshot-service: Fix memory leak --- lib/ephy-snapshot-service.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c index 4b1e4e4db..04b559035 100644 --- a/lib/ephy-snapshot-service.c +++ b/lib/ephy-snapshot-service.c @@ -194,6 +194,7 @@ webview_retrieve_snapshot (SnapshotOp *op) } op->snapshot = ephy_snapshot_service_crop_snapshot (surface); + cairo_surface_destroy (surface); g_io_scheduler_push_job ((GIOSchedulerJobFunc)io_scheduler_save_thumbnail, op, NULL, G_PRIORITY_LOW, NULL); -- cgit v1.2.3