[gnome-online-accounts/gnome-3-22] identity: Don't leak the invocation when handling ExchangeSecretKeys



commit 4debc231a4ea4cde4f2e92fab135f870f3883f77
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Jan 5 14:35:51 2017 +0100

    identity: Don't leak the invocation when handling ExchangeSecretKeys
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776897

 src/goaidentity/goaidentityservice.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/goaidentity/goaidentityservice.c b/src/goaidentity/goaidentityservice.c
index 2b5903c..c69184d 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -541,6 +541,8 @@ on_secret_keys_exchanged (GoaIdentityService *self,
                                                                   invocation,
                                                                   output_key);
     }
+
+  g_object_unref (invocation);
 }
 
 static void


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