summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_context.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-01-16 09:30:28 +0000
committerJakob Bornecrantz <jakob@vmware.com>2010-01-16 10:44:57 +0000
commita5c03bd6f16517bf35c273741080492d70d64c29 (patch)
tree965e43507da238863b7fb3a8055e49379d7ea79a /src/gallium/auxiliary/draw/draw_context.c
parent66e561a036199e1786bd315c0ca4b192ad2ae386 (diff)
draw: Fix memory leak in gs code
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c
index 667aa46b20..e90dfc5aec 100644
--- a/src/gallium/auxiliary/draw/draw_context.c
+++ b/src/gallium/auxiliary/draw/draw_context.c
@@ -95,6 +95,7 @@ void draw_destroy( struct draw_context *draw )
draw_pipeline_destroy( draw );
draw_pt_destroy( draw );
draw_vs_destroy( draw );
+ draw_gs_destroy( draw );
FREE( draw );
}