Release array of keyboard keys when we shutdown input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-06-17 12:52:05 -04:00 committed by Chris Michael
parent 92bbc30710
commit 2a44c2717e
1 changed files with 3 additions and 2 deletions

View File

@ -353,10 +353,11 @@ e_comp_wl_input_shutdown(E_Comp_Wl_Data *cdata)
/* TODO: destroy touch resources */
/* TODO: destroy cdata->kbd.keys array */
/* destroy cdata->kbd.keys array */
wl_array_release(&cdata->kbd.keys);
/* destroy the global seat resource */
/* if (cdata->seat.global) wl_global_destroy(cdata->seat.global); */
if (cdata->seat.global) wl_global_destroy(cdata->seat.global);
cdata->seat.global = NULL;
}