From cc2b6590204eeb88433ee54603fe23fbdc4d6299 Mon Sep 17 00:00:00 2001 From: Linus_Probert Date: Tue, 6 Mar 2018 13:50:43 +0100 Subject: [PATCH] Removes a memory leak --- src/map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map.c b/src/map.c index 11334f5..33b7216 100644 --- a/src/map.c +++ b/src/map.c @@ -342,5 +342,6 @@ void map_destroy(Map *map) item_destroy(linkedlist_pop(&map->items)); timer_destroy(map->renderTimer); + timer_destroy(map->monsterMoveTimer); free(map); }