memory management
MONITOR_HEAP+heaputil pointed out some unreleased memory. The livelog stuff wasn't being freed. Not surpringly the data used for collecting and formatting build-options that just got changed from strdup() to dupstr() wasn't being freed. And a couple of date/version bits.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 extern.h $NHDT-Date: 1637992233 2021/11/27 05:50:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1018 $ */
|
||||
/* NetHack 3.7 extern.h $NHDT-Date: 1644524039 2022/02/10 20:13:59 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1046 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -28,6 +28,9 @@ extern void welcome(boolean);
|
||||
extern int argcheck(int, char **, enum earlyarg);
|
||||
extern long timet_to_seconds(time_t);
|
||||
extern long timet_delta(time_t, time_t);
|
||||
#ifndef NODUMPENUMS
|
||||
extern void dump_enums(void);
|
||||
#endif
|
||||
|
||||
/* ### apply.c ### */
|
||||
|
||||
@@ -1246,9 +1249,7 @@ extern int buzzmu(struct monst *, struct attack *);
|
||||
|
||||
extern void runtime_info_init(void);
|
||||
extern const char *do_runtime_info(int *);
|
||||
#ifndef NODUMPENUMS
|
||||
extern void dump_enums(void);
|
||||
#endif
|
||||
extern void release_runtime_info(void);
|
||||
|
||||
/* ### mhitm.c ### */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user