[Freeciv-Dev] [Patch] Remove destroy_worklist()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
destroy_worklist is used in the source. The only class of objects
which have dynamic worklists are cities. So the line
free(pcity->worklist);
in game_remove_city could be replaced with a call to
destroy_worklist. But IMHO the free is ok.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The two rules for success in life are:
1) Never tell them everything you know."
destroy_worklist1.diff
Description: Text document
- [Freeciv-Dev] [Patch] Remove destroy_worklist(),
Raimar Falke <=
|
|