forked from enlightenment/enlightenment
wl_text_input: initializes global handle after destroying.
Summary: variable for handle should be initialized. Test Plan: N/A Reviewers: zmike, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3013
This commit is contained in:
parent
a6a0332f45
commit
cfc78dfdae
|
@ -925,7 +925,7 @@ e_modapi_init(E_Module *m)
|
||||||
if (!text_input_manager_global)
|
if (!text_input_manager_global)
|
||||||
{
|
{
|
||||||
ERR("failed to create wl_global for text input manager");
|
ERR("failed to create wl_global for text input manager");
|
||||||
wl_global_destroy(e_comp->wl_comp_data->seat.im.global);
|
E_FREE_FUNC(e_comp->wl_comp_data->seat.im.global, wl_global_destroy);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue