forked from enlightenment/efl
[ecore_imf] fix crash because of invalid show request context
This commit is contained in:
parent
2e74e41ed3
commit
2b344688f9
|
@ -182,6 +182,10 @@ ecore_imf_context_del(Ecore_IMF_Context *ctx)
|
||||||
"ecore_imf_context_del");
|
"ecore_imf_context_del");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (show_req_ctx == ctx)
|
||||||
|
show_req_ctx = NULL;
|
||||||
|
|
||||||
if (ctx->klass->del) ctx->klass->del(ctx);
|
if (ctx->klass->del) ctx->klass->del(ctx);
|
||||||
|
|
||||||
if (ctx->callbacks)
|
if (ctx->callbacks)
|
||||||
|
|
Loading…
Reference in New Issue