diff options
-rw-r--r-- | src/glsl/ast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h index 1de285bb461..7ce879bb79d 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -42,7 +42,7 @@ public: { void *node; - node = talloc_size(ctx, size); + node = talloc_zero_size(ctx, size); assert(node != NULL); return node; |