Mesa (lp-binning): llvmpipe: free the phi array

Brian Paul brianp at kemper.freedesktop.org
Fri Jan 8 18:21:03 UTC 2010


Module: Mesa
Branch: lp-binning
Commit: af31e65b5542147a53e4d3198eb8437f89457451
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af31e65b5542147a53e4d3198eb8437f89457451

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan  8 11:20:38 2010 -0700

llvmpipe: free the phi array

---

 src/gallium/drivers/llvmpipe/lp_bld_flow.c |    2 ++
 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 a347ced..b7fa817 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.
     ***/




More information about the mesa-commit mailing list