From 8ce18d2754c5c934d0d62c556a7e1c6562ff6830 Mon Sep 17 00:00:00 2001 From: wuyakuma Date: Wed, 6 Nov 2024 09:05:22 +0800 Subject: [PATCH] Missing ALIGNED_FREE causes mem-leak every tick --- tiny_bvh_fenster.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tiny_bvh_fenster.cpp b/tiny_bvh_fenster.cpp index 3078252..359961d 100644 --- a/tiny_bvh_fenster.cpp +++ b/tiny_bvh_fenster.cpp @@ -98,4 +98,5 @@ void Tick( uint32_t* buf ) buf[pixel_x + pixel_y * SCRWIDTH] = c + (c << 8) + (c << 16); } } + ALIGNED_FREE(rays); }