diff options
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ir_dead_functions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_dead_functions.cpp b/src/glsl/ir_dead_functions.cpp index 26554441d3..16037a2632 100644 --- a/src/glsl/ir_dead_functions.cpp +++ b/src/glsl/ir_dead_functions.cpp @@ -125,6 +125,7 @@ do_dead_functions(exec_list *instructions) if (!entry->used) { entry->signature->remove(); + delete entry->signature; progress = true; } delete(entry); @@ -143,6 +144,7 @@ do_dead_functions(exec_list *instructions) * symbol table should be OK. */ func->remove(); + delete func; progress = true; } } |