aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2015-06-30 16:43:37 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2015-06-30 16:43:37 +0900
commit25962ccf6477d37aca242b826a9901b1ef698684 (patch)
treebc7fc5056de3a029aa448a366daec58084715ae9 /src/lib/ecore_imf
parentecore_imf: fix wrong return type of ecore_imf_context_input_panel_return_key_... (diff)
downloadefl-25962ccf6477d37aca242b826a9901b1ef698684.tar.gz
ecore_imf: check parameter of ecore_imf_module_register ()
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/ecore_imf_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_module.c b/src/lib/ecore_imf/ecore_imf_module.c
index b0e1fe0983..990bb71f21 100644
--- a/src/lib/ecore_imf/ecore_imf_module.c
+++ b/src/lib/ecore_imf/ecore_imf_module.c
@@ -229,7 +229,7 @@ ecore_imf_module_register(const Ecore_IMF_Context_Info *info,
{
Ecore_IMF_Module *module;
- if (_ecore_imf_modules_exists(info->id)) return;
+ if (!info || _ecore_imf_modules_exists(info->id)) return;
if (!modules)
modules = eina_hash_string_superfast_new(EINA_FREE_CB(_ecore_imf_module_free));