[gnome-software] ubuntu-reviews: Don't leak the db path
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] ubuntu-reviews: Don't leak the db path
- Date: Tue, 12 Apr 2016 08:08:29 +0000 (UTC)
commit 7b236383cee480912a33f5fec6895dc88c1d364d
Author: Iain Lane <iain orangesquash org uk>
Date: Tue Apr 12 09:05:37 2016 +0100
ubuntu-reviews: Don't leak the db path
src/plugins/gs-plugin-ubuntu-reviews.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index c5355ae..21a9e1f 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -102,6 +102,7 @@ gs_plugin_destroy (GsPlugin *plugin)
GsPluginPrivate *priv = plugin->priv;
g_clear_pointer (&priv->db, sqlite3_close);
+ g_free (priv->db_path);
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]