summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_pipeline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index f2d1b491b70..c090b8e2f0e 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -618,6 +618,8 @@ radv_pipeline_compile(struct radv_pipeline *pipeline,
gs_copy_code,
gs_copy_code_size);
}
+
+ free(gs_copy_code);
}
if (!module->nir)
ralloc_free(nir);