From: Eric Anholt Date: Mon, 15 Dec 2014 17:08:09 +0000 (-0800) Subject: vc4: 0-initialize the screen again. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=440075fb50d413c9f8112fd4ae562671061ad720;p=mesa.git vc4: 0-initialize the screen again. I typoed this when rebasing the memory leak fixes. --- 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;