[gnome-software/gnome-3-22] trivial: Fix a memory leak in GsFlatpak
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] trivial: Fix a memory leak in GsFlatpak
- Date: Tue, 7 Mar 2017 16:32:59 +0000 (UTC)
commit 2195e20dd425272d074dc2d8e75002efe9423cee
Author: Richard Hughes <richard hughsie com>
Date: Wed Feb 22 13:14:19 2017 +0000
trivial: Fix a memory leak in GsFlatpak
This was introduced a long time ago, when GsFlatpak was created.
src/plugins/gs-flatpak.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 2293b8a..9c02dfd 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -2826,6 +2826,7 @@ gs_flatpak_finalize (GObject *object)
}
g_free (self->id);
+ g_object_unref (self->installation);
g_object_unref (self->plugin);
g_object_unref (self->store);
g_hash_table_unref (self->broken_remotes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]