From 82188e12b5b113c7fed559ec48828683d90d53c7 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 28 Feb 2017 11:24:39 +0900 Subject: [PATCH] ecore_imf/ibus: fix memory leak --- src/modules/ecore_imf/ibus/ibus_imcontext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/ecore_imf/ibus/ibus_imcontext.c b/src/modules/ecore_imf/ibus/ibus_imcontext.c index e6d67ec..48d8a71 100644 --- a/src/modules/ecore_imf/ibus/ibus_imcontext.c +++ b/src/modules/ecore_imf/ibus/ibus_imcontext.c @@ -1000,6 +1000,7 @@ _ecore_imf_context_ibus_destroy_cb(IBusInputContext *ibuscontext EINA_UNUSED, EINA_LOG_DBG("%s", __FUNCTION__); EINA_SAFETY_ON_NULL_RETURN(ibusimcontext); + g_object_unref(ibusimcontext->ibuscontext); ibusimcontext->ibuscontext = NULL; /* clear preedit */ -- 2.7.4