After having been compared to NULL value at e_mod_main.c:133, pointer 'text_input->resource' is passed as 1st parameter in call to function 'wl_text_input_send_private_command' at e_mod_main.c:146, where it is dereferenced at text-server-protocol.h:589.
Change-Id: Idf4809eaa23e1531bce0519210f08dab718843c3
{
g_input_panel_state = E_INPUT_PANEL_STATE_WILL_HIDE;
/* Temporarily sending private command, will need for a new wayland protocol */
- wl_text_input_send_private_command(text_input->resource, 0, "CONFORMANT_RESET");
+ if (text_input->resource)
+ wl_text_input_send_private_command(text_input->resource, 0, "CONFORMANT_RESET");
+
if (g_timer_will_hide)
{
ecore_timer_del(g_timer_will_hide);