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:
Seunghun Lee 2015-09-07 13:13:10 -04:00 committed by Mike Blumenkrantz
parent a6a0332f45
commit cfc78dfdae
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ e_modapi_init(E_Module *m)
if (!text_input_manager_global)
{
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;
}