Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434)
Home

[Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 May 2002 22:28:00 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, May 15, 2002 at 03:17:45PM -0500, Mike Kaufman wrote:
> On Wed, May 15, 2002 at 10:09:45PM +0200, Raimar Falke wrote:
> > On Sat, May 11, 2002 at 12:59:15AM -0500, Mike Kaufman wrote:
> > > we already have a [smaller] memory leak when diconnecting and
> > > reconnecting to the server (or quitting the server and restarting it).
> > > this "fix" really intensifies the memory leak---depending on the
> > > savegame size---by about an order of magnitude.
> > 
> > Here is a second fix. There are no additional memory leaks by calling
> > game_init.
> 
> how about just changing _init to do an unlink_all first instead of creating
> a new (redundant) call for _reinit? 

This may cover other bugs. Although I have no idea how much remote
this is.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "SIGDANGER - The System is likely to crash soon"


[Prev in Thread] Current Thread [Next in Thread]