Dave Airlie
b62dc4fcbc
xext: don't free uninitialised pointer when malloc fails. (v2)
...
Initialise the pAttr->values to values so if the values allocation
fails it just ends up as free(NULL).
Pointed out by coverity.
v2: use Alan's suggestion.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-12-06 16:00:35 +00:00
..
bigreq.c
Use internal temp variable for swap macros
2011-09-21 17:12:04 -04:00
dpms.c
Use internal temp variable for swap macros
2011-09-21 17:12:04 -04:00
dpmsproc.h
dpmsstubs.c
geext.c
Use internal temp variable for swap macros
2011-09-21 17:12:04 -04:00
geext.h
geint.h
Change the devPrivates API to require dixRegisterPrivateKey
2010-06-05 19:23:03 -07:00
Makefile.am
xext: Remove XCALIBRATE extension
2011-03-01 10:56:17 +10:00
panoramiX.c
Merge remote-tracking branch 'mattst88/for-keith'
2011-09-21 14:34:27 -07:00
panoramiX.h
panoramiX: consolidate common id assignment code.
2011-03-10 11:00:48 +10:00
panoramiXh.h
panoramiXprocs.c
panoramiX: convert 1->panoramiXNumScreens loops to use macro (v2)
2011-03-10 11:01:51 +10:00
panoramiXsrv.h
XineramaInitData ignores its argument. Quit passing one.
2011-09-18 20:11:43 -05:00
panoramiXSwap.c
Use internal temp variable for swap macros
2011-09-21 17:12:04 -04:00
saver.c
xext: don't free uninitialised pointer when malloc fails. (v2)
2011-12-06 16:00:35 +00:00
security.c
Save major/minor opcodes in ClientRec for RecordAReply
2011-12-01 15:11:20 +00:00
securitysrv.h
shape.c
Use internal temp variable for swap macros
2011-09-21 17:12:04 -04:00
shm.c
Fix ShmPutImage for XYBitmap
2011-11-19 14:25:53 +01:00
shmint.h
sleepuntil.c
sleepuntil.h
sync.c
Fix gcc -Wwrite-strings warnings in various extensions
2011-11-23 12:15:07 -08:00
syncsdk.h
Create/Destroy/Trigger/Reset/Query Fence Sync objs
2010-12-06 19:15:38 -08:00
syncsrv.h
Fix gcc -Wwrite-strings warnings in various extensions
2011-11-23 12:15:07 -08:00
xace.c
xace: Invalid reference to out-of-scope data.
2010-08-10 16:04:16 -07:00
xace.h
xacestr.h
xcmisc.c
Unconditionally #include <stdint.h>
2011-09-23 16:46:23 -07:00
xf86bigfont.c
Use internal temp variable for swap macros
2011-09-21 17:12:04 -04:00
xf86bigfontsrv.h
xres.c
Use correct swap{l,s} (or none at all for CARD8)
2011-09-21 17:14:16 -04:00
xselinux.h
xselinux_ext.c
Xext: remove unused variable 'n'
2011-11-10 13:21:36 +10:00
xselinux_hooks.c
Save major/minor opcodes in ClientRec for RecordAReply
2011-12-01 15:11:20 +00:00
xselinux_label.c
xselinuxint.h
Change the devPrivates API to require dixRegisterPrivateKey
2010-06-05 19:23:03 -07:00
xtest.c
Fix gcc -Wwrite-strings warnings in various extensions
2011-11-23 12:15:07 -08:00
xvdisp.c
Use internal temp variable for swap macros
2011-09-21 17:12:04 -04:00
xvdisp.h
xvdix.h
xv: Use RESTYPE where appropriate
2011-03-08 13:19:40 -05:00
xvmain.c
Xext: Silence warnings when building with clang
2011-04-25 10:45:34 -07:00
xvmc.c
Convert strncpy/strncat to strlcpy/strlcat
2011-11-23 12:15:05 -08:00
xvmcext.h