Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2525) Server memory leaks
Home

[Freeciv-Dev] Re: (PR#2525) Server memory leaks

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2525) Server memory leaks
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 9 Dec 2002 11:52:13 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, Dec 09, 2002 at 11:15:39AM -0800, Mike Kaufman via RT wrote:
> these are not memory leaks (these are simply letting the OS free what we
> forgot to, on exit) except for the readline stuff. This make make more of a
> difference when we are able to rerun games without quitting first.
> Otherwise, the acid test is to run valgrind (if you can) before the game
> has exited or load savegames multiple times and show that doing so
> magnifies the memleak.

IMHO memory leaks are memory blocks which we forgot to free.

I agree that the ones we left behind at the final exit are minor. And
I'm also surprised that we loose only a very small amount at one
savegame reload.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The trick is to keep breathing.




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