mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
engine.c: fix memory leak. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4931 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a05cc6ec20
commit
03be585ff7
1 changed files with 1 additions and 0 deletions
|
@ -10792,6 +10792,7 @@ skip_reading_mapbin:
|
||||||
uint8_t *fullboard = (uint8_t*)Xmalloc(boardsize);
|
uint8_t *fullboard = (uint8_t*)Xmalloc(boardsize);
|
||||||
kread(fil, fullboard, boardsize);
|
kread(fil, fullboard, boardsize);
|
||||||
md4once(fullboard, boardsize, g_loadedMapMD4);
|
md4once(fullboard, boardsize, g_loadedMapMD4);
|
||||||
|
Bfree(fullboard);
|
||||||
|
|
||||||
kclose(fil);
|
kclose(fil);
|
||||||
// Done reading file.
|
// Done reading file.
|
||||||
|
|
Loading…
Reference in a new issue