diff options
author | Yevhenii Kolesnikov <[email protected]> | 2019-07-24 13:03:16 +0300 |
---|---|---|
committer | Yevhenii Kolesnikov <[email protected]> | 2019-07-26 15:35:03 +0300 |
commit | fad848094fc5f3a16e1de3885f185e1df8b1e70b (patch) | |
tree | dc2e1f4735312a6f76204c95398f74cf60ae5ba8 /src/mesa | |
parent | 1a99fc0fd022018ed056cd42f299d5ad1a02c264 (diff) |
state_tracker: Add destroying routine for feedback and select stages
Fixes leaking memory on iris.
Signed-off-by: Yevhenii Kolesnikov <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_feedback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_feedback.c b/src/mesa/state_tracker/st_cb_feedback.c index ce236c05d98..54f101ed82c 100644 --- a/src/mesa/state_tracker/st_cb_feedback.c +++ b/src/mesa/state_tracker/st_cb_feedback.c @@ -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); } |