xserver-multidpi/hw/xfree86
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
..
common Correctly free config file names 2011-11-24 17:47:37 -02:00
ddc Remove redundant redeclarations of functions in the same header file 2011-11-23 12:15:07 -08:00
dixmods xfree86: Link modules with -module 2011-10-15 21:18:47 -07:00
doc Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
dri Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
dri2 dri2: Register the DRI2DrawableType after server regeneration 2011-11-18 11:26:03 -08:00
exa xfree86: Link modules with -module 2011-10-15 21:18:47 -07:00
fbdevhw Convert a bunch of sprintf to snprintf calls 2011-11-23 12:15:06 -08:00
i2c Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
int10 int10: Port internal users off xf86MapVidMem 2011-10-15 21:18:46 -07:00
loader FindModule: stop copying const char *dirname to char *dirpath 2011-11-23 12:15:07 -08:00
man xorg.conf.man: fix 382: warning: missing )' (got R') #35054 2011-10-19 17:22:18 -07:00
modes Fix gcc -Wwrite-strings warnings in xf86Modes code 2011-11-23 12:15:07 -08:00
os-support sun_agp: cast key to uintptr_t before casting to (int *) 2011-11-23 12:15:06 -08:00
parser parser: free val.str after xf86getBoolValue 2011-11-24 17:47:37 -02:00
ramdac Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
shadowfb xfree86: Link modules with -module 2011-10-15 21:18:47 -07:00
utils Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
vbe Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
vgahw pci: Remove xf86MapDomainMemory 2011-10-15 21:18:46 -07:00
x86emu Convert a bunch of sprintf to snprintf calls 2011-11-23 12:15:06 -08:00
xaa xfree86: Link modules with -module 2011-10-15 21:18:47 -07:00
.gitignore xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am sdksyms.sh may not be executable. 2011-10-01 17:35:19 +02:00
sdksyms.sh xfree86: Deprecate the use of xf86PciInfo.h 2011-11-18 11:26:02 -08:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00