projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e41e0
)
glsl: fix mem leak
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Oct 2009 20:50:45 +0000
(14:50 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Oct 2009 20:50:45 +0000
(14:50 -0600)
src/mesa/shader/slang/slang_link.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_link.c
b/src/mesa/shader/slang/slang_link.c
index 8f2b40d5dfbc6885c62cf79e62c5316fe0fee400..71038d2d94efc80623e73de55b9ad8e3ac95502d 100644
(file)
--- 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;
}
}