aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_shader_cache.c
diff options
context:
space:
mode:
authorBartosz Tomczyk <[email protected]>2017-04-03 19:39:19 +0200
committerTimothy Arceri <[email protected]>2017-04-04 09:22:29 +1000
commitbcb63ee63e0a8bec837ee3712e1d306409455a4a (patch)
tree54ba8c62bf404fe17bbfceb7fc6d7067d87550f5 /src/mesa/state_tracker/st_shader_cache.c
parenta4c4efad89eceb26cf82f4643ce6a4eb656072a6 (diff)
glsl: Fix blob memory leak
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_shader_cache.c')
-rw-r--r--src/mesa/state_tracker/st_shader_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_shader_cache.c b/src/mesa/state_tracker/st_shader_cache.c
index e8c7289ec6d..1a11f1135d7 100644
--- a/src/mesa/state_tracker/st_shader_cache.c
+++ b/src/mesa/state_tracker/st_shader_cache.c
@@ -135,7 +135,7 @@ st_store_tgsi_in_disk_cache(struct st_context *st, struct gl_program *prog,
_mesa_shader_stage_to_string(prog->info.stage), sha1_buf);
}
- free(blob);
+ blob_destroy(blob);
}
static void