summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2013-05-14 16:14:38 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2013-05-14 16:14:38 +0900
commit41e54337355ac15bd3eebd477a0c3cd9fa0354c9 (patch)
treeb723dbcf11ab03a3a93763cde6389b205f4f6fd1 /src/lib/ecore_imf
parent3eb79d3c3d582a6feba4ca90655c172bc42abc01 (diff)
ecore_imf: fix crash when ecore_imf_context_del is called in ecore_imf_context_input_panel_callback_call
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/ecore_imf_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c
index f1e88211c7..de9b9e9001 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -1137,6 +1137,9 @@ ecore_imf_context_input_panel_event_callback_call(Ecore_IMF_Context *ctx, Ecore_
1137 value == ECORE_IMF_INPUT_PANEL_STATE_HIDE && 1137 value == ECORE_IMF_INPUT_PANEL_STATE_HIDE &&
1138 show_req_ctx == ctx) 1138 show_req_ctx == ctx)
1139 show_req_ctx = NULL; 1139 show_req_ctx = NULL;
1140
1141 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1142 break;
1140 } 1143 }
1141 } 1144 }
1142} 1145}