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:
helixhorned 2015-01-18 20:22:25 +00:00
parent a05cc6ec20
commit 03be585ff7

View file

@ -10792,6 +10792,7 @@ skip_reading_mapbin:
uint8_t *fullboard = (uint8_t*)Xmalloc(boardsize);
kread(fil, fullboard, boardsize);
md4once(fullboard, boardsize, g_loadedMapMD4);
Bfree(fullboard);
kclose(fil);
// Done reading file.