diff options
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index c03ce3d86ee..c4bd758d796 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -744,6 +744,7 @@ static int r600_shader_select(struct pipe_context *ctx, R600_ERR("Failed to build shader variant (type=%u) %d\n", sel->type, r); sel->current = NULL; + FREE(shader); return r; } |