[gnome-software/wip/rancell/reviews] Release dangling reference
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/reviews] Release dangling reference
- Date: Tue, 9 Feb 2016 19:57:28 +0000 (UTC)
commit f412fb50b78ed1ccd065f064267697f6caee5eaf
Author: William Hua <william hua canonical com>
Date: Tue Feb 9 14:56:50 2016 -0500
Release dangling reference
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 607b777..e2f5a60 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -552,6 +552,7 @@ parse_reviews (GsPlugin *plugin, const gchar *text, GsApp *app, GError **error)
continue;
gs_app_add_review (app, review);
+ g_object_unref (review);
}
result = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]