-/* 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() */
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)
{