summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
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));