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:
Yevhenii Kolesnikov 2019-07-24 13:03:16 +03:00
parent 1a99fc0fd0
commit fad848094f

View file

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