[gnome-software/wip/rancell/reviews: 22/33] Don't g_object_unref reviews which is a GPtrArray



commit d13386b858b31206c77e3499f5283a36f4d46610
Author: William Hua <william hua canonical com>
Date:   Thu Jan 21 10:51:49 2016 -0600

    Don't g_object_unref reviews which is a GPtrArray

 src/gs-app.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index db4fca9..9db518d 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -2240,7 +2240,6 @@ gs_app_dispose (GObject *object)
        GsApp *app = GS_APP (object);
 
        g_clear_object (&app->icon);
-       g_clear_object (&app->reviews);
        g_clear_object (&app->pixbuf);
 
        g_clear_pointer (&app->addons, g_ptr_array_unref);


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