[Freeciv-Dev] Re: (PR#13980) tileset memory leaks
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
- [Freeciv-Dev] Re: (PR#13980) tileset memory leaks,
Vasco Alexandre da Silva Costa <=
|
|