ecore_imf: fix crash when ecore_imf_context_del is called in ecore_imf_context_input_panel_callback_call

This commit is contained in:
Jihoon Kim 2013-05-14 16:14:38 +09:00
parent 3eb79d3c3d
commit 41e5433735
3 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2013-05-14 Jihoon Kim
* Edje entry: return surrounding string until the start position of selection
* ecore_imf: fix crash when ecore_imf_context_del is called in ecore_imf_context_input_panel_callback_call
2013-05-13 Thiep Ha

1
NEWS
View File

@ -269,3 +269,4 @@ Fixes:
* Evas text: Fixed line size calculation when using multiple fonts.
* Evas: Fix crash if app use native surface in wrong engine.
* Edje entry: return surrounding string until the start position of selection
* Ecore-imf: fix crash when ecore_imf_context_del is called in ecore_imf_context_input_panel_callback_call

View File

@ -1137,6 +1137,9 @@ ecore_imf_context_input_panel_event_callback_call(Ecore_IMF_Context *ctx, Ecore_
value == ECORE_IMF_INPUT_PANEL_STATE_HIDE &&
show_req_ctx == ctx)
show_req_ctx = NULL;
if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
break;
}
}
}