[gnome-online-accounts/gnome-3-14] daemon: Free presentation identity when finished with it



commit 3ab257b0134e94a00fd384eb3197099468c2acda
Author: Ray Strode <rstrode redhat com>
Date:   Wed Oct 29 16:10:32 2014 -0400

    daemon: Free presentation identity when finished with it
    
    The update_account_object function reads an account's presentation
    identity from the accounts configuration.  GKeyFile returns a
    duped string and so the presentation identity needs to be freed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739590

 src/daemon/goadaemon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index ea703ef..9d5543d 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -508,6 +508,7 @@ update_account_object (GoaDaemon           *daemon,
   g_object_unref (account);
   g_free (type);
   g_free (identity);
+  g_free (presentation_identity);
   return ret;
 }
 


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