From fddfb4b594d9ce7efe9f2c1c55cbe08076e57e09 Mon Sep 17 00:00:00 2001 From: Polonkai Gergely Date: Thu, 29 Mar 2012 18:14:03 +0000 Subject: [PATCH] Fixed variable name mismatch in world.c A variable name mismatch prevented the code to compile on machines with GLib < 2.28 --- wmud/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmud/world.c b/wmud/world.c index 0718b0a..13b55d1 100644 --- a/wmud/world.c +++ b/wmud/world.c @@ -460,7 +460,7 @@ wmud_world_free_exits(GSList *exits) g_slist_free_full(exits, (GDestroyNotify)g_free); #else g_slist_foreach(exits, (GFunc)g_free, NULL); - g_slist_free(rooms); + g_slist_free(exits); #endif } }