diff options
Diffstat (limited to 'src/mesa')
-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 b5533c72579..0defa012aee 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -275,6 +275,10 @@ _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) ralloc_free(prog->sh.BindlessSamplers); } + if (prog->sh.BindlessImages) { + ralloc_free(prog->sh.BindlessImages); + } + ralloc_free(prog); } |