sdl: Fix memory leakage
commit229609dd45ee572fb343366a5bf440afb25cf614
authorJan Kiszka <jan.kiszka@web.de>
Sat, 27 Jun 2009 07:59:40 +0000 (27 09:59 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 19:18:08 +0000 (29 14:18 -0500)
tree86a32a00973f3455e7849fcfdac6292ea8f06f90
parent059b8b1eb68c8fe65604baba7bb977d1ec120f96
sdl: Fix memory leakage

Valgrind was so kind to remark that no one bothers to release keycodes
after use and that something is fishy about cleaning up the requested
keyboard descriptor. With this patch applied, we no longer leak about
12k during startup.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
sdl.c