From 2b344688f932d516e8de809135cfe3049f8e6e77 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Wed, 17 Jul 2013 19:31:45 +0900 Subject: [PATCH] [ecore_imf] fix crash because of invalid show request context --- src/lib/ecore_imf/ecore_imf_context.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c index 3601b4123d..272a04be66 100644 --- a/src/lib/ecore_imf/ecore_imf_context.c +++ b/src/lib/ecore_imf/ecore_imf_context.c @@ -182,6 +182,10 @@ ecore_imf_context_del(Ecore_IMF_Context *ctx) "ecore_imf_context_del"); return; } + + if (show_req_ctx == ctx) + show_req_ctx = NULL; + if (ctx->klass->del) ctx->klass->del(ctx); if (ctx->callbacks)