summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf/ecore_imf_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_imf/ecore_imf_module.c')
-rw-r--r--src/lib/ecore_imf/ecore_imf_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_module.c b/src/lib/ecore_imf/ecore_imf_module.c
index 3fec5de1d6..814152f79b 100644
--- a/src/lib/ecore_imf/ecore_imf_module.c
+++ b/src/lib/ecore_imf/ecore_imf_module.c
@@ -306,6 +306,8 @@ ecore_imf_module_register(const Ecore_IMF_Context_Info *info,
306 modules = eina_hash_string_superfast_new(EINA_FREE_CB(_ecore_imf_module_free)); 306 modules = eina_hash_string_superfast_new(EINA_FREE_CB(_ecore_imf_module_free));
307 307
308 module = malloc(sizeof(Ecore_IMF_Module)); 308 module = malloc(sizeof(Ecore_IMF_Module));
309 EINA_SAFETY_ON_NULL_RETURN(module);
310
309 module->info = info; 311 module->info = info;
310 /* cache imf_module_create as it may be used several times */ 312 /* cache imf_module_create as it may be used several times */
311 module->create = imf_module_create; 313 module->create = imf_module_create;