glsl: destroy function and subroutine hash tables
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 2 May 2017 18:06:50 +0000 (21:06 +0300)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 8 May 2017 03:18:23 +0000 (13:18 +1000)
commit1f743a0edff14a338ca53b6c60c3b5d5c85c29d5
treeaea55e9148032c47eb82b171203c198441f3cfe5
parentd71ca40a18ef9e4c2cf9d13db768b944d77a6981
glsl: destroy function and subroutine hash tables

Just like other type hash tables are destroyed in
_mesa_glsl_release_types(), also destroy the ones for function and
subroutine types.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl_types.cpp