home · contact · privacy
Add "look" mode to query things on any cell via new THINGS_HERE command.
[plomrogue] / src / client / cleanup.c
index f4b97bfe6cef34c1aa0bfa721a22675ba48581a7..4db02a2654a7c3adfdd2640328e023d81dcb045d 100644 (file)
@@ -1,4 +1,9 @@
-/* src/client/cleanup.c */
+/* src/client/cleanup.c
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
+ */
 
 #include "cleanup.h"
 #include <ncurses.h> /* for endwin() */
@@ -21,6 +26,8 @@ extern void cleanup()
     free(world.map.cells);
     free(world.mem_map);
     free(world.log);
+    free(world.things_here);
+    free(world.queue);
     free(world.player_inventory);
     if (cleanup_flags & CLEANUP_INTERFACE)
     {