aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r--src/diffraction-gpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c
index c76c4aa0..bbed9a9b 100644
--- a/src/diffraction-gpu.c
+++ b/src/diffraction-gpu.c
@@ -474,6 +474,9 @@ void cleanup_gpu(struct gpu_context *gctx)
}
}
+ free(gctx->sinc_luts);
+ free(gctx->sinc_lut_ptrs);
+
clReleaseCommandQueue(gctx->cq);
clReleaseContext(gctx->ctx);
free(gctx);