xserver/hw/kdrive
Alan Coopersmith 89badba082 Free keymap on error in Xephyr's hostx_load_keymap
Found by parfait 1.1 code analyser:
   Memory leak of pointer 'keymap' allocated with XGetKeyboardMapping(HostX.dpy, min_keycode, ((max_keycode - min_keycode) + 1), &host_width)
        at line 861 of hw/kdrive/ephyr/hostx.c in function 'hostx_load_keymap'.
          'keymap' allocated at line 845 with XGetKeyboardMapping(HostX.dpy, min_keycode, ((max_keycode - min_keycode) + 1), &host_width).

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-02-05 18:30:31 -08:00
..
ephyr Free keymap on error in Xephyr's hostx_load_keymap 2013-02-05 18:30:31 -08:00
fake Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbdev Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
linux Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
src Revert "kinput: allocate enough space for null character." 2012-10-07 12:25:53 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00
Xkdrive.man The great kdrive purge. 2008-05-16 08:16:01 -04:00