[epiphany] ephy-snapshot-service: Fix memory leak
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-snapshot-service: Fix memory leak
- Date: Mon, 3 Sep 2012 10:51:25 +0000 (UTC)
commit 9ecd70bae96a0c08bca380c97bdf0b2b9e724d95
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Mon Sep 3 12:50:36 2012 +0200
ephy-snapshot-service: Fix memory leak
lib/ephy-snapshot-service.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c
index 4b1e4e4..04b5590 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]