[gnome-keyring/trust-store] [gcr] Fix memory leak in certificate chain building.



commit df82f81996148ce1b891573a1ec8c20b0f598614
Author: Stef Walter <stefw collabora co uk>
Date:   Fri Dec 10 23:04:16 2010 +0000

    [gcr] Fix memory leak in certificate chain building.

 gcr/gcr-certificate-chain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcr/gcr-certificate-chain.c b/gcr/gcr-certificate-chain.c
index 347daf0..39a3e0c 100644
--- a/gcr/gcr-certificate-chain.c
+++ b/gcr/gcr-certificate-chain.c
@@ -696,7 +696,7 @@ gcr_certificate_chain_build_async (GcrCertificateChain *self, const gchar *purpo
 
 	g_simple_async_result_run_in_thread (result, thread_build_chain,
 	                                     G_PRIORITY_DEFAULT, cancellable);
-
+	g_object_unref (result);
 }
 
 /**



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