summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-02-14 20:48:40 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-15 11:30:49 +0900
commit742c5d3e1ba1455e6aca8454f4b7e146b27fbbe3 (patch)
treeced635f3803320c466982a6b889adb62413fe901 /src/mesa
parent6a7820d31f9b697888ce9f9b193bacc86e646fe1 (diff)
gallium: Fix memory leak.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/draw/draw_stipple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_stipple.c b/src/mesa/pipe/draw/draw_stipple.c
index fb8b56e84c..7e0e2137b7 100644
--- a/src/mesa/pipe/draw/draw_stipple.c
+++ b/src/mesa/pipe/draw/draw_stipple.c
@@ -212,6 +212,7 @@ passthrough_tri(struct draw_stage *stage, struct prim_header *header)
static void
stipple_destroy( struct draw_stage *stage )
{
+ draw_free_tmps( stage );
FREE( stage );
}