+ free(world.log);
+ }
+ if (cleanup_flags & CLEANUP_COMMAND_DB)
+ {
+ free_command_db();
+ }
+ if (cleanup_flags & CLEANUP_MAPOBJACTS)
+ {
+ free_map_object_actions(world.map_obj_acts);
+ }
+ if (cleanup_flags & CLEANUP_MAP)
+ {
+ free(world.map->cells);
+ }
+ if (cleanup_flags & CLEANUP_INTERFACE_CONF)
+ {
+ unload_interface_conf();
+ }
+ if (cleanup_flags & CLEANUP_WIN_META)
+ {
+ free_winmeta();