[Freeciv-Dev] Re: (PR#6897) leak in ai_diplomacy_suggest
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6897 >
On Tue, Nov 18, 2003 at 09:33:37AM -0800, Benoit Hudson wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6897 >
>
> The server wasn't correctly freeing the treaties it was creating; now it
> should. I've added a clear_treaty function to match init_treaty in
> diptreaty.[ch] ; I call it everywhere that we free(ptreaty) -- which is
> precisely two places.
What about the client? I have the feeling something similar had to be
done to the close_diplomacy_dialog functions?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The very concept of PNP is a lovely dream that simply does not translate to
reality. The confusion of manually doing stuff is nothing compared to the
confusion of computers trying to do stuff and getting it wrong, which they
gleefully do with great enthusiasm."
-- Jinx Tigr in the SDM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#6897) leak in ai_diplomacy_suggest,
Raimar Falke <=
|
|