summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-05-09 15:02:59 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-05-09 15:04:14 +0100
commit501be9c7dd0cc5f985c708fa0e5f35d7fd20deb4 (patch)
tree22ae0cef26b43e0f28e2530027cd048782cd1431 /src/gallium/auxiliary/draw/draw_pipe_vbuf.c
parentcec016271ccf38d2f32e426f96e7d5d1fdf962f7 (diff)
draw: fix translate double-free, minor cleanups
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_vbuf.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_vbuf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
index 2a19e6916a..64a9f9084f 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
@@ -427,9 +427,6 @@ static void vbuf_destroy( struct draw_stage *stage )
if(vbuf->indices)
align_free( vbuf->indices );
- if(vbuf->translate)
- vbuf->translate->release( vbuf->translate );
-
if (vbuf->render)
vbuf->render->destroy( vbuf->render );