mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 05:41:02 +00:00
Merge branch 'visplane-fix' into 'master'
Fix visplane getting allocated twice See merge request KartKrew/Kart-Public!172
This commit is contained in:
commit
5f70d3e170
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ static visplane_t *new_visplane(unsigned hash)
|
|||
visplane_t *check = freetail;
|
||||
if (!check)
|
||||
{
|
||||
check = calloc(2, sizeof (*check));
|
||||
check = calloc(1, sizeof (*check));
|
||||
if (check == NULL) I_Error("%s: Out of memory", "new_visplane"); // FIXME: ugly
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue