Fixed variable name mismatch in world.c

A variable name mismatch prevented the code to compile on machines with
GLib < 2.28
This commit is contained in:
Polonkai Gergely 2012-03-29 18:14:03 +00:00
parent 2d45069c88
commit fddfb4b594
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}