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



commit b9fbf14cf724c592996a1dd25318ca60b0cae8f5
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Jul 18 15:34:25 2016 +0200

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

 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 27b6cbe..2b6c9ab 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -304,6 +304,8 @@ on_sign_in_handled (GoaIdentityService    *self,
                                                      invocation,
                                                      object_path);
     }
+
+  g_object_unref (invocation);
 }
 
 static void


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