diff options
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/program.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 277e6ce2d86..b5533c72579 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -271,6 +271,10 @@ _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) ralloc_free(prog->nir); } + if (prog->sh.BindlessSamplers) { + ralloc_free(prog->sh.BindlessSamplers); + } + ralloc_free(prog); } |