Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6897) leak in ai_diplomacy_suggest
Home

[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]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6897) leak in ai_diplomacy_suggest
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Wed, 19 Nov 2003 03:46:37 -0800
Reply-to: rt@xxxxxxxxxxx

<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 <=