mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 10:00:30 +01:00
gallium: Fix memory leak.
This commit is contained in:
parent
742c5d3e1b
commit
19780237ff
1 changed files with 3 additions and 0 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue