xserver-multidpi/hw
Paulo Zanoni d41987d77c parser: free val.str after xf86getBoolValue
After we convert the value to a boolean, we discard the string.

This is just one example:

3 bytes in 1 blocks are definitely lost in loss record 5 of 657
   at 0x4C2779D: malloc (vgpreload_memcheck-amd64-linux.so)
   by 0x4D744D: xf86getToken (scan.c:400)
   by 0x4D75F1: xf86getSubToken (scan.c:462)
   by 0x4DB3E0: xf86parseInputClassSection (InputClass.c:189)
   by 0x4D664C: xf86readConfigFile (read.c:184)
   by 0x490556: xf86HandleConfigFile (xf86Config.c:2360)
   by 0x49AA77: InitOutput (xf86Init.c:365)
   by 0x425A7A: main (main.c:204)

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2011-11-24 17:47:37 -02:00
..
dmx dmx: Build fix for -Werror=implicit-function-declaration 2011-11-23 12:15:07 -08:00
kdrive Convert a bunch of sprintf to snprintf calls 2011-11-23 12:15:06 -08:00
vfb Convert a bunch of sprintf to snprintf calls 2011-11-23 12:15:06 -08:00
xfree86 parser: free val.str after xf86getBoolValue 2011-11-24 17:47:37 -02:00
xnest Xnest: Match the host's keymap 2011-10-21 10:29:51 -07:00
xquartz Convert strncpy/strncat to strlcpy/strlcat 2011-11-23 12:15:05 -08:00
xwin Correctly free config file names 2011-11-24 17:47:37 -02:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00