summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-12-15 09:08:09 -0800
committerEric Anholt <[email protected]>2014-12-15 14:28:22 -0800
commit440075fb50d413c9f8112fd4ae562671061ad720 (patch)
treedd8bcf0963e37545d8a23b1bc406ecab620c2eca /src/gallium
parent19e05d68986690cfcdd49de6cfb87d88ad54cd58 (diff)
vc4: 0-initialize the screen again.
I typoed this when rebasing the memory leak fixes.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.c2
1 files changed, 1 insertions, 1 deletions
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;