summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-08 11:20:38 -0700
committerBrian Paul <[email protected]>2010-01-08 11:20:38 -0700
commitaf31e65b5542147a53e4d3198eb8437f89457451 (patch)
tree8153e4fdbe000d68c51950e821a78aab688e1ba6
parent70b8d59792a814a5a81b86d57016314754d91593 (diff)
llvmpipe: free the phi array
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_flow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_flow.c b/src/gallium/drivers/llvmpipe/lp_bld_flow.c
index a347cedf038..b7fa817e229 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_flow.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_flow.c
@@ -721,6 +721,8 @@ lp_build_endif(struct lp_build_if_state *ctx)
}
}
+ FREE(ifthen->phi);
+
/***
*** Now patch in the various branch instructions.
***/