Windows: free more allocated memory before exit

This gets rid of the final leak complaint on Windows as of Nov 13, 2024
This commit is contained in:
nhmall
2024-11-13 13:48:50 -05:00
parent c85b5d3e56
commit fa9210aa65
11 changed files with 57 additions and 15 deletions
+12 -2
View File
@@ -43,8 +43,18 @@
#define MAXWINDOWS 15
#endif
#define NHW_RIP 32
#define NHW_INVEN 33
struct window_tracking_data {
genericptr_t address;
int isstatic;
} windowdata[MAXWINDOWS];
/* these are only in MSWIN_GRAPHICS, not the core */
enum mswin_window_types {
NHW_MAIN = (NHW_LAST_TYPE + 1),
NHW_INVEN,
NHW_RIP,
NHW_SPLASH
};
#ifndef TILE_X
#define TILE_X 16