mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Fix visplanes getting allocated twice
I guess that is legacy remnant stuff
This commit is contained in:
parent
923e6f31aa
commit
a8c6a65260
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ static visplane_t *new_visplane(unsigned hash)
|
|||
visplane_t *check = freetail;
|
||||
if (!check)
|
||||
{
|
||||
check = calloc(2, sizeof (*check));
|
||||
check = malloc(sizeof (*check));
|
||||
if (check == NULL) I_Error("%s: Out of memory", "new_visplane"); // FIXME: ugly
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue