use malloc here

This commit is contained in:
Alug committed 2024-01-15 09:36:35 +01:00
1 parent 369307181e
commit 81cb1111b4
1 file changed
+1 -1
+1 -1
View File
@@ -385,7 +385,7 @@ static visplane_t *new_visplane(unsigned hash)
visplane_t *check = freetail;
if (!check)
{
check = calloc(1, sizeof (*check));
check = malloc(sizeof (*check));
if (check == NULL) I_Error("%s: Out of memory", "new_visplane"); // FIXME: ugly
}
else