mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 12:00:41 +02:00
state_tracker: Add destroying routine for feedback and select stages
Fixes leaking memory on iris. Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
1a99fc0fd0
commit
fad848094f
1 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,7 @@ feedback_reset_stipple_counter( struct draw_stage *stage )
|
|||
static void
|
||||
feedback_destroy( struct draw_stage *stage )
|
||||
{
|
||||
/* no-op */
|
||||
free(stage);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -247,7 +247,7 @@ select_reset_stipple_counter( struct draw_stage *stage )
|
|||
static void
|
||||
select_destroy( struct draw_stage *stage )
|
||||
{
|
||||
/* no-op */
|
||||
free(stage);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue