[ecore_imf] fix crash because of invalid show request context

This commit is contained in:
Jihoon Kim 2013-07-17 19:31:45 +09:00
parent 2e74e41ed3
commit 2b344688f9
1 changed files with 4 additions and 0 deletions

View File

@ -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)