mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
getcwd with NULL gives us memory allocated from the system, so don't try to use nedmalloc to free it.
git-svn-id: https://svn.eduke32.com/eduke32@1737 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4a5e89f0dd
commit
a0269f6dac
1 changed files with 1 additions and 1 deletions
|
@ -9161,7 +9161,7 @@ static void G_Startup(void)
|
||||||
G_GameExit("Failed loading art.");
|
G_GameExit("Failed loading art.");
|
||||||
}
|
}
|
||||||
chdir(cwd);
|
chdir(cwd);
|
||||||
Bfree(cwd);
|
free(cwd);
|
||||||
}
|
}
|
||||||
else if (loadpics("tiles000.art",MAXCACHE1DSIZE) < 0)
|
else if (loadpics("tiles000.art",MAXCACHE1DSIZE) < 0)
|
||||||
G_GameExit("Failed loading art.");
|
G_GameExit("Failed loading art.");
|
||||||
|
|
Loading…
Reference in a new issue