[epiphany/in-tab-overview] ephy-snapshot-service: don't leak the snapshots
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/in-tab-overview] ephy-snapshot-service: don't leak the snapshots
- Date: Fri, 31 Aug 2012 13:45:24 +0000 (UTC)
commit 61b1137de520bd854f623d20d2e4146346864579
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Aug 31 16:43:21 2012 +0300
ephy-snapshot-service: don't leak the snapshots
lib/ephy-snapshot-service.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c
index 4908c6a..4b1e4e4 100644
--- a/lib/ephy-snapshot-service.c
+++ b/lib/ephy-snapshot-service.c
@@ -62,6 +62,8 @@ snapshot_op_free (SnapshotOp *op)
g_object_unref (op->cancellable);
if (op->webview)
g_object_unref (op->webview);
+ if (op->snapshot)
+ g_object_unref (op->snapshot);
g_slice_free (SnapshotOp, op);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]