[gnome-flashback] input-sources: don't leak ibus object



commit df5ef3af7a3bfff22b6986b34fc38716ca02626b
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Jul 14 21:55:46 2016 +0300

    input-sources: don't leak ibus object

 gnome-flashback/libinput-sources/gf-ibus-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libinput-sources/gf-ibus-manager.c 
b/gnome-flashback/libinput-sources/gf-ibus-manager.c
index c0f5fe1..ce41132 100644
--- a/gnome-flashback/libinput-sources/gf-ibus-manager.c
+++ b/gnome-flashback/libinput-sources/gf-ibus-manager.c
@@ -390,6 +390,7 @@ gf_ibus_manager_dispose (GObject *object)
       manager->candidate_popup = NULL;
     }
 
+  g_clear_object (&manager->ibus);
   g_clear_object (&manager->subprocess);
 
   if (manager->engines != NULL)


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