Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#12022) duplicate free when destroying or taking over a
Home

[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]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12022) duplicate free when destroying or taking over a city
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Jan 2005 21:51:48 -0800
Reply-to: bugs@xxxxxxxxxxx

<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




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