diff options
author | marha <marha@users.sourceforge.net> | 2013-09-04 16:28:48 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-09-04 16:28:48 +0200 |
commit | b602729f06a62d29e136cf2aeca9544471371e0d (patch) | |
tree | 403d96659d5726e26edafb2bbb3c1198e783e3a0 /mesalib/src/mesa/main/shaderobj.c | |
parent | caffc15f0b9e35698a6039fa3df2fa6a588608e6 (diff) | |
parent | b828531d8b6da75a258d12f97df0f4e49f75ab98 (diff) | |
download | vcxsrv-b602729f06a62d29e136cf2aeca9544471371e0d.tar.gz vcxsrv-b602729f06a62d29e136cf2aeca9544471371e0d.tar.bz2 vcxsrv-b602729f06a62d29e136cf2aeca9544471371e0d.zip |
Merge remote-tracking branch 'origin/released'
* origin/released:
fontconfig xkeyboard-config git update 4 Sep 2013
Diffstat (limited to 'mesalib/src/mesa/main/shaderobj.c')
-rw-r--r-- | mesalib/src/mesa/main/shaderobj.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/shaderobj.c b/mesalib/src/mesa/main/shaderobj.c index a62ad0413..0d794ad96 100644 --- a/mesalib/src/mesa/main/shaderobj.c +++ b/mesalib/src/mesa/main/shaderobj.c @@ -125,6 +125,7 @@ static void _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh) { free((void *)sh->Source); + free(sh->Label); _mesa_reference_program(ctx, &sh->Program, NULL); ralloc_free(sh); } @@ -351,6 +352,8 @@ _mesa_free_shader_program_data(struct gl_context *ctx, shProg->_LinkedShaders[sh] = NULL; } } + + free(shProg->Label); } |