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); }