From 85afc212f1715f98b78a69fe58ffa03ed3d85220 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 7 Jun 2025 01:16:39 +0200 Subject: [PATCH] forgor to free the mask heads lel --- src/r_things.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/r_things.cpp b/src/r_things.cpp index d0a8fb1c1..0cd26e9d0 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -3021,4 +3021,6 @@ void R_DrawMasked(maskcount_t* masks, UINT8 nummasks) R_DrawMaskedList(&heads[nummasks - 1]); R_ClearDrawNodes(&heads[nummasks - 1]); } + + free(heads); }