aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-snapshot-service.c1
1 files changed, 1 insertions, 0 deletions
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);