home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bug that freed non-existing map objects, triggered segfaults.
[plomrogue]
/
src
/
windows.h
diff --git
a/src/windows.h
b/src/windows.h
index aedb30b12e44030d8e8b949ad9ac56521e13e6d1..5ec4d2f62bc709c80dc632290c22ed21e9fd9a00 100644
(file)
--- a/
src/windows.h
+++ b/
src/windows.h
@@
-119,7
+119,8
@@
extern uint8_t init_win(struct WinMeta * wmeta, struct Win ** w, char * title,
-/* Free allocated memory for an initialized Win struct. */
+/* Free allocated memory for an initialized Win / WinMeta struct. */
+extern void free_winmeta(struct WinMeta * wmeta);
extern void free_win(struct Win * win);