summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-22 09:12:27 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-22 09:12:27 -0600
commit28b3b078959db8a1e60adfb66f35ceb04d4f414d (patch)
tree09cddc21e6d5e24465f54229c82245cfbb9be789
parentf73cfd9e5cb0f47057f5b78b019787726798f238 (diff)
gallium: fix mem leak (fee pstipple stage)
-rw-r--r--src/gallium/auxiliary/draw/draw_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c
index 4cca965ac1..41da93cdf8 100644
--- a/src/gallium/auxiliary/draw/draw_context.c
+++ b/src/gallium/auxiliary/draw/draw_context.c
@@ -113,6 +113,8 @@ void draw_destroy( struct draw_context *draw )
draw->pipeline.aaline->destroy( draw->pipeline.aaline );
if (draw->pipeline.aapoint)
draw->pipeline.aapoint->destroy( draw->pipeline.aapoint );
+ if (draw->pipeline.pstipple)
+ draw->pipeline.pstipple->destroy( draw->pipeline.pstipple );
if (draw->pipeline.rasterize)
draw->pipeline.rasterize->destroy( draw->pipeline.rasterize );
tgsi_exec_machine_free_data(&draw->machine);