diff options
author | Vinson Lee <vlee@vmware.com> | 2009-10-28 13:09:44 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-28 13:09:44 -0600 |
commit | c0a61c8442af3cfa810098d34bf6a21d11a5d720 (patch) | |
tree | 7923cf2f0bdca82f3cae745c403aeb4cf3fdd70d /src/mesa/drivers/dri | |
parent | 0219cd0961e6b47761fe6984dc6c0a8bfa6057d8 (diff) |
intel: Fix memory leak in case of renderbuffer bad format
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index cf007d5b62..a49868bfef 100644 --- 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; } |