brentjohnson / xconq

Xconq is a general strategy game system. It is a complete system that includes all the components: a portable engine, graphical interfaces for Unix/Linux/X11, Macintosh, and Windows, multiple AIs, networking for multi-player games, and an extensive games library.
GNU General Public License v2.0
31 stars 11 forks source link

realloc fail? #5

Closed bw1 closed 7 years ago

bw1 commented 7 years ago

kernel/supply.c row 382

if (!realloc(mstats, (size_t)ms - (size_t)mstats)) {
    Dprintf("realloc() failed; exiting");
    exit(1);
}

[7193d248c80b727a88789724116ae102cfd8600a]

this thing break the startup

brentjohnson commented 7 years ago

Should be fixed with PR#6

bw1 commented 7 years ago

thx