[Ohrrpgce] SVN: teeemcee/10843 Fix memory leaks in ClearHeroData and load_hero_from_reload

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Nov 5 06:27:06 PST 2018


teeemcee
2018-11-05 06:27:06 -0800 (Mon, 05 Nov 2018)
520
Fix memory leaks in ClearHeroData and load_hero_from_reload

The second being a fix for the "Leaked # global reload nodes" warnings
for 'hero' nodes when quitting Custom.

None of these leaks caused problems; they aren't related to the hero data
corrupt bugs fixed in the next commits.

In general we should probably just switch to adding constructors if necessary
for default (although generally the default values can be put straight in the
UDT) and calling destructor+constructor instead of writing "Clear" functions.
---
U   wip/loading.rbas
U   wip/udts.bi


More information about the Ohrrpgce mailing list