diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/shaders.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/shaders.c b/src/mesa/main/shaders.c index 73f27ed2d3..5bd4a3f5ff 100644 --- a/src/mesa/main/shaders.c +++ b/src/mesa/main/shaders.c @@ -422,6 +422,8 @@ _mesa_ShaderSourceARB(GLhandleARB shaderObj, GLsizei count, source[offsets[count - 1]] = '\0'; ctx->Driver.ShaderSource(ctx, shaderObj, source); + + _mesa_free(offsets); } |