Merge branch 'NetHack-3.6'
This commit is contained in:
@@ -34,6 +34,9 @@ sys_early_init()
|
||||
#endif
|
||||
#ifdef DUMPLOG
|
||||
sysopt.dumplogfile = (char *) 0;
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
sysopt.portable_device_top = (char *) 0;
|
||||
#endif
|
||||
sysopt.env_dbgfl = 0; /* haven't checked getenv("DEBUGFILES") yet */
|
||||
sysopt.shellers = (char *) 0;
|
||||
@@ -105,6 +108,12 @@ sysopt_release()
|
||||
#ifdef DUMPLOG
|
||||
if (sysopt.dumplogfile)
|
||||
free((genericptr_t)sysopt.dumplogfile), sysopt.dumplogfile=(char *)0;
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
if (sysopt.portable_device_top) {
|
||||
free((genericptr_t) sysopt.portable_device_top);
|
||||
sysopt.portable_device_top = (char *) 0;
|
||||
}
|
||||
#endif
|
||||
if (sysopt.genericusers)
|
||||
free((genericptr_t) sysopt.genericusers),
|
||||
|
||||
Reference in New Issue
Block a user