Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2005:
[Freeciv-Dev] Re: (PR#13980) tileset memory leaks
Home

[Freeciv-Dev] Re: (PR#13980) tileset memory leaks

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13980) tileset memory leaks
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Thu, 15 Sep 2005 07:23:32 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13980 >

On Thu, 15 Sep 2005, Jason Short wrote:

>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13980 >
>
> This patch fixes a number of tileset memory leaks.
>
> When I wrote the new tileset code I knew I wasn't rigorous about memory
> handling.  But I thought this was okay since it's easy to run valgrind
> to find these errors.  Well, this patch handles most of them.

Why the casts to void * in the free() calls? The compiler shouldn't
complain.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa







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