[Freeciv-Dev] (PR#12022) duplicate free when destroying or taking over a
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12022 >
> [bhudson - Wed Jan 26 22:14:55 2005]:
>
> Move the warrior into Newquay. Under OSX, I get an immediate and
> repeatable duplicate free. Sadly, I can't seem to get it to produce me
> a backtrace (even with MallocBadFreeAbort set appropriately).
> Someone with working memory debugging tools will need to debug this.
Running it now...
You could try something like
#define free(x) (free(x), (x) = NULL)
-jason
|
|