[PATCH] composite: initialise pOldPixmap to NullPixmap at alloc time.

Keith Packard keithp at keithp.com
Wed Jun 2 21:00:50 PDT 2010


On Thu,  3 Jun 2010 12:16:40 +1000, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> We just never initialised the malloced value.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Reviewed-by: Keith Packard <keithp at keithp.com>

I've checked to make sure all of the CompWindowRec elements are
initialized when the structure is allocated.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100602/13c530f8/attachment.pgp>


More information about the xorg-devel mailing list