gallium: Fix memory leak.

This commit is contained in:
Michal Krol 2008-02-14 21:03:12 +01:00 committed by José Fonseca
parent 742c5d3e1b
commit 19780237ff

View file

@ -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 );
}