Module: Mesa Branch: mesa_7_6_branch Commit: c0a61c8442af3cfa810098d34bf6a21d11a5d720 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0a61c8442af3cfa810098d34bf6a21d11a5d720
Author: Vinson Lee <[email protected]> Date: Wed Oct 28 13:09:44 2009 -0600 intel: Fix memory leak in case of renderbuffer bad format Signed-off-by: Brian Paul <[email protected]> --- 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 cf007d5..a49868b 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; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
