From 440075fb50d413c9f8112fd4ae562671061ad720 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 15 Dec 2014 09:08:09 -0800 Subject: vc4: 0-initialize the screen again. I typoed this when rebasing the memory leak fixes. --- src/gallium/drivers/vc4/vc4_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index 7a1840aaf4c..aa5cbfa2348 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -403,7 +403,7 @@ vc4_screen_is_format_supported(struct pipe_screen *pscreen, struct pipe_screen * vc4_screen_create(int fd) { - struct vc4_screen *screen = ralloc(NULL, struct vc4_screen); + struct vc4_screen *screen = rzalloc(NULL, struct vc4_screen); struct pipe_screen *pscreen; pscreen = &screen->base; -- cgit v1.2.3