X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;f=src%2Fclient%2Fcleanup.c;h=d889ae92ae1597bfe3a59ca6c582d4b6fa5ab039;hb=bc7c3a7ee20d49d725c76d14705b9ef56c096c42;hp=3499246c7abcb6b324844a0c52bd401eb238174c;hpb=1cb57a35a3b3cc4ec8870531ca254a655c0bdda2;p=plomrogue diff --git a/src/client/cleanup.c b/src/client/cleanup.c index 3499246..d889ae9 100644 --- a/src/client/cleanup.c +++ b/src/client/cleanup.c @@ -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 /* for endwin() */ @@ -19,7 +24,10 @@ static uint32_t cleanup_flags = 0x0000; extern void cleanup() { free(world.map.cells); + free(world.mem_map); free(world.log); + free(world.things_below_player); + free(world.queue); free(world.player_inventory); if (cleanup_flags & CLEANUP_INTERFACE) {