aboutsummaryrefslogtreecommitdiff
path: root/src/room.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/room.c')
-rw-r--r--src/room.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/room.c b/src/room.c
index f79c422..b387a23 100644
--- a/src/room.c
+++ b/src/room.c
@@ -153,6 +153,8 @@ void world_free(void)
{
if(world)
{
+ if(world_name)
+ free(world_name);
for(unsigned i = 0; i < world_sz; ++i)
{
room_free(world + i);