mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
plug a memleak, destroy setup context
This commit is contained in:
parent
026e31a068
commit
653da2d069
1 changed files with 2 additions and 0 deletions
|
|
@ -150,6 +150,8 @@ static void reset_stipple_counter( struct draw_stage *stage )
|
|||
|
||||
static void render_destroy( struct draw_stage *stage )
|
||||
{
|
||||
struct setup_stage *ssetup = setup_stage(stage);
|
||||
setup_destroy_context(ssetup->setup);
|
||||
FREE( stage );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue