[Freeciv-Dev] Re: (PR#11350) handle_city_short_info Does not use create_
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=11350 >
Benedict Adamson wrote:
> However, it seems to me that handle_city_short_info should also create
> new cities using create_city_virtual. I suspect some of the code for
> setting default values could then be removed. More importantly, it
> prevents bugs when fields, such as unit_lists, are added to 'struct
> city' that should be cleanly removed (to prevent memory leaks) but must
> also be initialised.
Absolutely. Will you make a patch?
-jason
- [Freeciv-Dev] Re: (PR#11350) handle_city_short_info Does not use create_city_virtual.,
Jason Short <=
|
|