[gnome-software] epiphany plugin: Plug a memory leak



commit 7d858349e8ce126d3a7b29e453c03ff88b46e27d
Author: Kalev Lember <kalevlember gmail com>
Date:   Sun Oct 5 13:57:35 2014 +0200

    epiphany plugin: Plug a memory leak

 src/plugins/gs-plugin-epiphany.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-epiphany.c b/src/plugins/gs-plugin-epiphany.c
index 0bf8f46..353cfda 100644
--- a/src/plugins/gs-plugin-epiphany.c
+++ b/src/plugins/gs-plugin-epiphany.c
@@ -496,6 +496,7 @@ gs_plugin_write_file (GsApp *app, const gchar *filename, GError **error)
        if (!ret)
                goto out;
 out:
+       g_free (data);
        g_free (profile);
        g_free (exec);
        g_free (wmclass);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]