diff options
author | Michal Krol <[email protected]> | 2008-02-14 21:03:12 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-15 11:30:51 +0900 |
commit | 19780237ff0e6a89f31ecb9079781568bc2d3fdc (patch) | |
tree | 9ec29b1639b79e4e04df6f1505bf7a4c5e829fc5 /src | |
parent | 742c5d3e1ba1455e6aca8454f4b7e146b27fbbe3 (diff) |
gallium: Fix memory leak.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/pipe/draw/draw_vbuf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_vbuf.c b/src/mesa/pipe/draw/draw_vbuf.c index be96c8fdeb1..71ac73912b8 100644 --- a/src/mesa/pipe/draw/draw_vbuf.c +++ b/src/mesa/pipe/draw/draw_vbuf.c @@ -523,6 +523,9 @@ static void vbuf_destroy( struct draw_stage *stage ) if(vbuf->vf) draw_vf_destroy( vbuf->vf ); + if (vbuf->render) + vbuf->render->destroy( vbuf->render ); + FREE( stage ); } |