diff options
author | Brian <brian@nostromo.localnet.net> | 2007-03-24 16:26:51 -0600 |
---|---|---|
committer | Brian <brian@nostromo.localnet.net> | 2007-03-24 16:26:51 -0600 |
commit | cfdd07d7d394a2a595a545c0ef81d00dd6156742 (patch) | |
tree | 9841f20dc28b895c563e67497dacc19e73160300 | |
parent | 1968444bed931eeafdbe948a30bb871bfcf11b42 (diff) |
fix mem leak
-rw-r--r-- | src/mesa/shader/slang/slang_compile_variable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c index ae37aed514..e099ecb067 100644 --- a/src/mesa/shader/slang/slang_compile_variable.c +++ b/src/mesa/shader/slang/slang_compile_variable.c @@ -272,6 +272,9 @@ slang_variable_destruct(slang_variable * var) slang_operation_destruct(var->initializer); slang_alloc_free(var->initializer); } + if (var->aux) { + _mesa_free(var->aux); + } } |