Module: Mesa Branch: master Commit: 440075fb50d413c9f8112fd4ae562671061ad720 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=440075fb50d413c9f8112fd4ae562671061ad720
Author: Eric Anholt <[email protected]> Date: Mon Dec 15 09:08:09 2014 -0800 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(-) diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index 7a1840a..aa5cbfa 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
