[gnome-online-accounts/gnome-3-10] daemon: Free presentation identity when finished with it
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-10] daemon: Free presentation identity when finished with it
- Date: Tue, 4 Nov 2014 12:47:14 +0000 (UTC)
commit 45853475798e56bdec2e964ec3690b1b872d4969
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 cc5a3fe..d591cdd 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -513,6 +513,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]