[gnome-software] odrs: Fix a trivial memory leak when shutting down the plugin
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] odrs: Fix a trivial memory leak when shutting down the plugin
- Date: Mon, 17 Jul 2017 13:31:43 +0000 (UTC)
commit bd4091a00a6285a980d565776adefedee8db8819
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 17 14:19:28 2017 +0100
odrs: Fix a trivial memory leak when shutting down the plugin
plugins/odrs/gs-plugin-odrs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/odrs/gs-plugin-odrs.c b/plugins/odrs/gs-plugin-odrs.c
index 083a4e6..328cd42 100644
--- a/plugins/odrs/gs-plugin-odrs.c
+++ b/plugins/odrs/gs-plugin-odrs.c
@@ -234,6 +234,7 @@ gs_plugin_destroy (GsPlugin *plugin)
GsPluginData *priv = gs_plugin_get_data (plugin);
g_free (priv->user_hash);
g_free (priv->distro);
+ g_free (priv->review_server);
g_hash_table_unref (priv->ratings);
g_object_unref (priv->settings);
g_object_unref (priv->cached_origin);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]