summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-08-18 09:47:21 +0100
committerRichard Hughes <richard@hughsie.com>2016-08-18 09:51:42 +0100
commitd6253fe015293d793b273212f17cb2885d36270d (patch)
tree6bab85296ae52f651d48b9dc1e33a0f2aa5fd3ad
parent8094e1246e8d7ed827784c3c3126cef44a9ef699 (diff)
downloadappstream-glib-d6253fe015293d793b273212f17cb2885d36270d.tar.gz
trivial: Fix a small memory leak in AsReview
-rw-r--r--libappstream-glib/as-review.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-review.c b/libappstream-glib/as-review.c
index d54db98..34a07db 100644
--- a/libappstream-glib/as-review.c
+++ b/libappstream-glib/as-review.c
@@ -84,6 +84,7 @@ as_review_finalize (GObject *object)
g_free (priv->summary);
g_free (priv->description);
g_free (priv->locale);
+ g_free (priv->version);
g_free (priv->reviewer_id);
g_free (priv->reviewer_name);
g_hash_table_unref (priv->metadata);