summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 296f6bfcb5..d16ad6e41d 100644
--- a/src/lib/ecore_imf/ecore_imf_module.c
+++ b/src/lib/ecore_imf/ecore_imf_module.c
@@ -157,7 +157,7 @@ ecore_imf_module_context_create(const char *ctx_id)
157 module = eina_hash_find(modules, ctx_id); 157 module = eina_hash_find(modules, ctx_id);
158 if (module) 158 if (module)
159 { 159 {
160 ctx = module->create(); 160 if (!(ctx = module->create())) return NULL;
161 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 161 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
162 { 162 {
163 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT, 163 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,