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



commit 7e4b19aef94c36859af295d1c4dc11634a2f9100
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 993a0b4..775616f 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -510,6 +510,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]