summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_search.c')
-rw-r--r--src/compiler/nir/nir_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_search.c b/src/compiler/nir/nir_search.c
index f24a7b9d07f..b34b13fdb89 100644
--- a/src/compiler/nir/nir_search.c
+++ b/src/compiler/nir/nir_search.c
@@ -340,7 +340,7 @@ static bitsize_tree *
build_bitsize_tree(void *mem_ctx, struct match_state *state,
const nir_search_value *value)
{
- bitsize_tree *tree = ralloc(mem_ctx, bitsize_tree);
+ bitsize_tree *tree = rzalloc(mem_ctx, bitsize_tree);
switch (value->type) {
case nir_search_value_expression: {