sdl: Fix memory leakage
commitfc78bd45039bcc8f3c4572b5921cf5144d438d01
authorJan Kiszka <jan.kiszka@web.de>
Sat, 27 Jun 2009 07:59:40 +0000 (27 09:59 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 22:15:03 +0000 (10 17:15 -0500)
tree6c20e5796165dcae15eb0de06329e09c6b2f58ca
parent259cf68eb197a49c90810b2874a18fb99d36447a
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