fix mem leak in _mesa_ShaderSourceARB()

This commit is contained in:
Brian 2007-02-26 17:00:06 -07:00
parent 4b8d75e2e6
commit b58ea057fe

View file

@ -422,6 +422,8 @@ _mesa_ShaderSourceARB(GLhandleARB shaderObj, GLsizei count,
source[offsets[count - 1]] = '\0';
ctx->Driver.ShaderSource(ctx, shaderObj, source);
_mesa_free(offsets);
}