summaryrefslogtreecommitdiff
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
parent6840d17f9e7c0b50c1bb99004a269e2de09acab7 (diff)
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 b0e1fe0..990bb71 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,
229{ 229{
230 Ecore_IMF_Module *module; 230 Ecore_IMF_Module *module;
231 231
232 if (_ecore_imf_modules_exists(info->id)) return; 232 if (!info || _ecore_imf_modules_exists(info->id)) return;
233 233
234 if (!modules) 234 if (!modules)
235 modules = eina_hash_string_superfast_new(EINA_FREE_CB(_ecore_imf_module_free)); 235 modules = eina_hash_string_superfast_new(EINA_FREE_CB(_ecore_imf_module_free));