[gnome-online-accounts] kerberos: Don't leak the GSimpleAsyncResult in sign_in_identity



commit 60c55c5e648f4191bb8c27da7aabc0be22941f1a
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jul 15 16:45:57 2016 +0200

    kerberos: Don't leak the GSimpleAsyncResult in sign_in_identity
    
    https://bugzilla.gnome.org/show_bug.cgi?id=768845

 src/goabackend/goakerberosprovider.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goakerberosprovider.c b/src/goabackend/goakerberosprovider.c
index 8c1fc2e..786314a 100644
--- a/src/goabackend/goakerberosprovider.c
+++ b/src/goabackend/goakerberosprovider.c
@@ -244,6 +244,8 @@ sign_in_identity (GoaKerberosProvider  *self,
                                        sign_in_thread,
                                        G_PRIORITY_DEFAULT,
                                        cancellable);
+
+  g_object_unref (operation_result);
 }
 
 static void


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