release some memory before exit under Windows

This commit is contained in:
nhmall
2024-11-11 16:50:57 -05:00
parent fd0b67de4d
commit 7414b906b2
4 changed files with 35 additions and 17 deletions

View File

@@ -499,8 +499,9 @@ extern const char *known_restrictions[]; /* symbols.c */
DISABLE_WARNING_UNREACHABLE_CODE
#if defined(__MINGW32__) && defined(MSWIN_GRAPHICS)
#define MAIN mingw_main
#if defined(MSWIN_GRAPHICS)
#define MAIN nethackw_main
#else
#define MAIN main
#endif