mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +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.");
|
||||
}
|
||||
chdir(cwd);
|
||||
Bfree(cwd);
|
||||
free(cwd);
|
||||
}
|
||||
else if (loadpics("tiles000.art",MAXCACHE1DSIZE) < 0)
|
||||
G_GameExit("Failed loading art.");
|
||||
|
|
Loading…
Reference in a new issue