[gnome-software/wip/kalev/gnome-3-22: 63/96] trivial: Fix a memory leak in GsFlatpak



commit f295f81f3f4a15bac1ebb55523e3688e10a329b9
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]