diff options
author | Jihoon Kim <jihoon48.kim@samsung.com> | 2013-07-17 19:31:45 +0900 |
---|---|---|
committer | Jihoon Kim <jihoon48.kim@samsung.com> | 2013-07-17 19:31:45 +0900 |
commit | 2b344688f932d516e8de809135cfe3049f8e6e77 (patch) | |
tree | 48cc3c610abac0ec9d8ef926283f3ff5a450fc53 /src/lib/ecore_imf/ecore_imf_context.c | |
parent | 2e74e41ed324006eb686d2855b3bebbfb78a4c56 (diff) |
[ecore_imf] fix crash because of invalid show request context
Diffstat (limited to 'src/lib/ecore_imf/ecore_imf_context.c')
-rw-r--r-- | src/lib/ecore_imf/ecore_imf_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
182 | "ecore_imf_context_del"); | 182 | "ecore_imf_context_del"); |
183 | return; | 183 | return; |
184 | } | 184 | } |
185 | |||
186 | if (show_req_ctx == ctx) | ||
187 | show_req_ctx = NULL; | ||
188 | |||
185 | if (ctx->klass->del) ctx->klass->del(ctx); | 189 | if (ctx->klass->del) ctx->klass->del(ctx); |
186 | 190 | ||
187 | if (ctx->callbacks) | 191 | if (ctx->callbacks) |