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



commit 5d8076e6da03f183f3f85ada636ea97e1c0a8912
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Jan 5 11:44:24 2017 +0100

    identity: Don't leak the invocation when handling SignOut
    
    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 50ac971..cdf3716 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -419,6 +419,8 @@ on_sign_out_handled (GoaIdentityService    *self,
   else
     goa_identity_service_manager_complete_sign_out (GOA_IDENTITY_SERVICE_MANAGER (self),
                                                     invocation);
+
+  g_object_unref (invocation);
 }
 
 static void


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