[epiphany] ephy-snapshot-service: don't leak the async result



commit 8f3fe1347ba5145ef95573ea2e6b6276d8a3b39a
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Thu Sep 6 12:40:43 2012 +0300

    ephy-snapshot-service: don't leak the async result

 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 d201a16..27b373c 100644
--- a/lib/ephy-snapshot-service.c
+++ b/lib/ephy-snapshot-service.c
@@ -558,6 +558,7 @@ ephy_snapshot_service_save_snapshot_async (EphySnapshotService *service,
   g_simple_async_result_run_in_thread (result,
                                        (GSimpleAsyncThreadFunc)save_snapshot_thread,
                                        G_PRIORITY_LOW, cancellable);
+  g_object_unref (result);
 }
 
 gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]