Skip to content
Commit 4bb56fdd authored by Yevhenii Kolesnikov's avatar Yevhenii Kolesnikov Committed by Juan A. Suarez Romero
Browse files

main: Fix memleaks in mesa_use_program



Add freeing of SubroutineIndexes to the _mesa_free_shader_state.

Fixes: 4566aaaa ("mesa/subroutines: start adding per-context
subroutine index support (v1.1)")
Signed-off-by: default avatarYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
(cherry picked from commit 882fe09a)
parent 61117d65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment