[gnome-online-accounts] daemon: Don't leak the list of providers in goa_daemon_init
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] daemon: Don't leak the list of providers in goa_daemon_init
- Date: Fri, 6 Jan 2017 12:05:31 +0000 (UTC)
commit 6d02cb7f3f536c9267b8e850a58815803f863502
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jan 5 18:43:08 2017 +0100
daemon: Don't leak the list of providers in goa_daemon_init
https://bugzilla.gnome.org/show_bug.cgi?id=765121
src/daemon/goadaemon.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index 4cae3e3..4b21ed9 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -341,6 +341,8 @@ goa_daemon_init (GoaDaemon *self)
g_dbus_object_manager_server_set_connection (self->object_manager, self->connection);
queue_check_credentials (self);
+
+ g_list_free_full (providers, g_object_unref);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]