diff options
author | Brian Paul <[email protected]> | 2009-10-01 14:50:45 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-01 14:50:45 -0600 |
commit | 9b27a0d063402e709ebc588aa3d927d461b96755 (patch) | |
tree | f4a275f25e930e07fc958a8ce0b179ce6bebf4b4 /src | |
parent | b3e41e0d5e03b040768547293e05e6540d3c8e4d (diff) |
glsl: fix mem leak
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 8f2b40d5dfb..71038d2d94e 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -670,6 +670,7 @@ get_main_shader(GLcontext *ctx, !shader->Main || shader->UnresolvedRefs) { link_error(shProg, "Unresolved symbols"); + _mesa_free_shader(ctx, shader); return NULL; } } |