Tiago Vignatti
81414c1c83
xfree86: xv: fix double free in xf86XVFreeAdaptor
...
When xf86XVFreeAdaptor is called more than once in xf86XVInitAdaptors (it may,
but not often), the conditional being changed in this patch will always take
true path and will keep freeing pAdaptor->pAttributes, thus letting the system
error-prone.
This patch fix such problem checking for a pointer instead the number of
attributes. Such pointer will be deallocated when xf86XVFreeAdaptor is called
first and will not let the code re-run in the following calls. This is a bit
similar how the surroundings code is already doing.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-07 19:56:33 +03:00
..
common
xfree86: xv: fix double free in xf86XVFreeAdaptor
2011-04-07 19:56:33 +03:00
ddc
xfree86: Convert some xf86BlockSIGIO to OsBlockSignals
2010-12-20 12:15:14 -05:00
dixmods
xfree86/dga: Remove DGAIsDgaEvent()
2011-01-27 14:22:03 +10:00
doc
man: relocate manual pages in the man subdir outside doc
2011-03-14 13:50:38 -07:00
dri
dri: kill if 0 out code.
2011-03-28 10:08:00 +10:00
dri2
xfree86: dri2: fix memory leak and free resources properly
2011-04-04 15:41:13 +03:00
exa
man: refactor common code in the man pages makefiles
2011-01-18 15:11:10 -08:00
fbdevhw
fbdevhw: Remove the non-sysfs hack for mapping from PCI to fbdev
2011-02-08 12:40:55 -05:00
i2c
int10
int10: warning fix
2011-02-08 12:40:49 -05:00
loader
xfree86: loader: use one exit code only for readability
2011-04-07 19:55:29 +03:00
man
man: list the drivers that are ignored when hotplugging ( #35209 )
2011-03-16 15:21:41 +10:00
modes
xfree86: warning fix
2011-03-28 13:01:03 -04:00
os-support
Consolidate all the PATH_MAX handling into misc.h
2011-03-14 13:42:55 -04:00
parser
xfree86: warning fix
2011-03-28 13:00:58 -04:00
ramdac
xfree86: update GetMaster check for the VCP.
2011-02-22 14:35:45 +10:00
shadowfb
xfree86: Kill pixmapPrivate with a vengeance (v2)
2010-09-28 08:07:21 -07:00
utils
man: refactor common code in the man pages makefiles
2011-01-18 15:11:10 -08:00
vbe
vbe: Fix malloc size bug
2011-03-04 16:11:03 -05:00
vgahw
xfree86: nds32: add nds32 definition for vgaHW support.
2010-09-23 15:36:19 -07:00
x86emu
x86emu: Fix more mis-decoding of the data prefix
2011-01-04 09:23:52 -05:00
xaa
Revert "dix: Remove usage_hint from pixmaps, store it in ->drawable.class"
2011-03-17 23:48:52 -07:00
.gitignore
xfree86: use sed rather than cpp to perform string substitutions
2011-01-18 15:11:14 -08:00
Makefile.am
man: relocate manual pages in the man subdir outside doc
2011-03-14 13:50:38 -07:00
xorgconf.cpp
xfree86: use sed rather than cpp to perform string substitutions
2011-01-18 15:11:14 -08:00