[gnome-software] trivial: Fix tiny memory leak due to typo



commit 63dec67b0c212a0e018411d9e417958afa361861
Author: Richard Hughes <richard hughsie com>
Date:   Thu Dec 15 13:32:15 2016 +0000

    trivial: Fix tiny memory leak due to typo

 src/gs-plugin-loader.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 08ba38a..3a034ab 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -4458,7 +4458,6 @@ gs_plugin_loader_update_thread_cb (GTask *task,
                        /* operate on the parent app or the related apps */
                        if (is_proxy_update) {
                                apps = get_updatable_apps (gs_app_get_related (app_tmp));
-                               apps = g_ptr_array_ref (gs_app_get_related (app_tmp));
                                if (apps->len > 0) {
                                        /* ensure that the proxy app is updatable */
                                        if (!gs_app_is_updatable (app_tmp))


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