[rhythmbox] removable-media-manager: add an unref missing since 2013



commit 79169ecfd710668f5e3d2aa08b68fda11e9996e7
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Sep 17 09:49:35 2017 +1000

    removable-media-manager: add an unref missing since 2013

 shell/rb-removable-media-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/rb-removable-media-manager.c b/shell/rb-removable-media-manager.c
index 2442cc2..1791f3a 100644
--- a/shell/rb-removable-media-manager.c
+++ b/shell/rb-removable-media-manager.c
@@ -765,6 +765,8 @@ page_changed_cb (RBShell *shell, GParamSpec *pspec, RBRemovableMediaManager *mgr
        app = g_application_get_default ();
        action = g_action_map_lookup_action (G_ACTION_MAP (app), "removable-media-eject");
        g_object_set (action, "enabled", can_eject, NULL);
+
+       g_object_unref (page);
 }
 
 static void


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