Skip to content
Snippets Groups Projects
Commit dad13f2d authored by sphere's avatar sphere
Browse files

Merge branch 'myfixes' into 'next'

Fix visplanes getting allocated twice (backport from srb2kart)

See merge request !1636
parents 3597475a a8c6a652
No related branches found
No related tags found
1 merge request!1636Fix visplanes getting allocated twice (backport from srb2kart)
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment