OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
388c941
)
llvmpipe: When failing free fs shader too.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 21 Sep 2010 16:51:06 +0000
(17:51 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 21 Sep 2010 16:51:29 +0000
(17:51 +0100)
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index
fb673db
..
4277c47
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_fs.c
@@
-906,6
+906,7
@@
llvmpipe_create_fs_state(struct pipe_context *pipe,
shader->draw_data = draw_create_fragment_shader(llvmpipe->draw, templ);
if (shader->draw_data == NULL) {
FREE((void *) shader->base.tokens);
+ FREE(shader);
return NULL;
}