From 0693083335185ce05ee64546151f3fc43ce98575 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 6 Mar 2006 21:00:09 +0000 Subject: render/picture.c Correctly initialize devPrivates variable in source only pictures to 0 miext/cw/cw.h Don't try to access devPrivates of source only pictures --- render/picture.c | 1 + 1 file changed, 1 insertion(+) (limited to 'render/picture.c') diff --git a/render/picture.c b/render/picture.c index 629f20bcc..299bded3f 100644 --- a/render/picture.c +++ b/render/picture.c @@ -979,6 +979,7 @@ static PicturePtr createSourcePicture(void) pPicture->pDrawable = 0; pPicture->pFormat = 0; pPicture->pNext = 0; + pPicture->devPrivates = 0; SetPictureToDefaults(pPicture); return pPicture; -- cgit v1.2.3