diff options
-rw-r--r-- | src/gallium/drivers/panfrost/pan_cmdstream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index 439a09ca54c..4146c8c6742 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.c +++ b/src/gallium/drivers/panfrost/pan_cmdstream.c @@ -1328,6 +1328,8 @@ panfrost_emit_texture_descriptors(struct panfrost_batch *batch, descriptors, sizeof(struct bifrost_texture_descriptor) * ctx->sampler_view_count[stage]); + + free(descriptors); } else { uint64_t trampolines[PIPE_MAX_SHADER_SAMPLER_VIEWS]; |