[gnome-online-accounts/gnome-3-20] identity: Don't leak the identifier in handle_sign_in



commit 464ffdc7919246336a182701f032fc045a6b4f26
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 2 02:07:02 2016 +0200

    identity: Don't leak the identifier in handle_sign_in
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756431

 src/goaidentity/goaidentityservice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goaidentity/goaidentityservice.c b/src/goaidentity/goaidentityservice.c
index 05ec326..5f10f86 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -390,7 +390,7 @@ goa_identity_service_handle_sign_in (GoaIdentityServiceManager *manager,
                                                 (GAsyncReadyCallback)
                                                 on_sign_in_handled,
                                                 g_object_ref (invocation),
-                                                g_strdup (identifier));
+                                                NULL);
   cancellable = g_cancellable_new ();
   g_object_set_data (G_OBJECT (operation_result),
                      "cancellable",


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