[cairo-commit] src/test-meta-surface.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Jul 3 05:19:20 PDT 2009


 src/test-meta-surface.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 28773fe79f883c32ee4e55e49f5dc3fced00c4f6
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jul 3 13:17:47 2009 +0100

    [test-meta] Initialize image
    
    Oops, stupid mistake - missed off the initialization of the image to NULL
    from the last commit.

diff --git a/src/test-meta-surface.c b/src/test-meta-surface.c
index 35bd0aa..7af5df7 100644
--- a/src/test-meta-surface.c
+++ b/src/test-meta-surface.c
@@ -347,6 +347,7 @@ _cairo_test_meta_surface_create (cairo_content_t	content,
     surface->height = height;
 
     surface->image_reflects_meta = FALSE;
+    surface->image = NULL;
 
     return &surface->base;
 


More information about the cairo-commit mailing list