forked from enlightenment/efl
ecore_imf/wayland: Add NULL check for text_input_manager.
Summary: this patch fixes crash caused by accessing the text_input_manager in wayland_im_context_add(). Test Plan: N/A Reviewers: jihoon Reviewed By: jihoon Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3176
This commit is contained in:
parent
229106963a
commit
261f083c4e
|
@ -122,6 +122,9 @@ im_module_create()
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!text_input_manager)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ctxd = wayland_im_context_new(text_input_manager);
|
||||
|
|
Loading…
Reference in New Issue