[gnome-flashback] input-sources: don't leak ibus object
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] input-sources: don't leak ibus object
- Date: Thu, 14 Jul 2016 18:56:13 +0000 (UTC)
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]