main: Fix memleaks in mesa_use_program
Add freeing of SubroutineIndexes to the _mesa_free_shader_state.
Signed-off-by: Yevhenii Kolesnikov yevhenii.kolesnikov@globallogic.com
Add freeing of SubroutineIndexes to the _mesa_free_shader_state.
Signed-off-by: Yevhenii Kolesnikov yevhenii.kolesnikov@globallogic.com