projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0219cd0
)
intel: Fix memory leak in case of renderbuffer bad format
author
Vinson Lee
<vlee@vmware.com>
Wed, 28 Oct 2009 19:09:44 +0000
(13:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 28 Oct 2009 19:09:44 +0000
(13:09 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_fbo.c
b/src/mesa/drivers/dri/intel/intel_fbo.c
index cf007d5b62bf2f7554f106f2267f48e75072759d..a49868bfef8d8c5007e2a572d352a7cc7ef6baa8 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/
src/mesa/drivers/dri/intel/intel_fbo.c
@@
-385,6
+385,7
@@
intel_create_renderbuffer(GLenum intFormat)
default:
_mesa_problem(NULL,
"Unexpected intFormat in intel_create_renderbuffer");
+ _mesa_free(irb);
return NULL;
}