vmware driver freeing non malloced object

Dave Airlie airlied at gmail.com
Thu Mar 15 07:14:25 PDT 2012


Just packaged xorg-x11-drv-vmware-12.0.1 and got this in build logs
/bin/sh ../libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I..    -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -Wbad-function-cast -Wformat=2
-Wold-style-definition -Wdeclaration-after-statement
-fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/libdrm     -I../src -I../saa -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables -c -o libvmwgfx_la-vmwgfx_xa_surface.lo
`test -f 'vmwgfx_xa_surface.c' || echo './'`vmwgfx_xa_surface.c
In file included from /usr/include/xorg/region.h:51:0,
                 from /usr/include/xorg/mi.h:51,
                 from vmwgfx_saa.c:29:
In function 'RegionUninit.isra.2',
    inlined from 'vmwgfx_composite_prepare' at vmwgfx_saa.c:1154:5:
/usr/include/xorg/regionstr.h:143:6: warning: attempt to free a
non-heap object 'RegionEmptyData' [-Wfree-nonheap-object]
In function 'RegionUninit.isra.2',
    inlined from 'vmwgfx_composite_prepare' at vmwgfx_saa.c:1158:5:
/usr/include/xorg/regionstr.h:143:6: warning: attempt to free a
non-heap object 'RegionEmptyData' [-Wfree-nonheap-object]
  CCLD   libvmwgfx.la

Dave.


More information about the xorg-devel mailing list