[Freeciv-Dev] Re: (PR#6650) memory leak in remove_city
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
--On Monday, October 27, 2003 12:51 PM -0800 Jason Short
<jdorje@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Jason Short wrote:
>> The mystrdup in remove_city() in citytools.c is not fully matched by a
>> free() call.
>
> Patch attached.
Here's a variant (untested) that works with PR#6360 (variable-length
arrays).
jason
remove_city.diff
Description: remove_city.diff
|
|