Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
November 2003: [Freeciv-Dev] (PR#6897) leak in ai_diplomacy_suggest |
[Freeciv-Dev] (PR#6897) leak in ai_diplomacy_suggest[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6897 > > [i-freeciv-lists@xxxxxxxxxxxxx - Wed Nov 19 11:46:37 2003]: > What about the client? I have the feeling something similar had to be > done to the close_diplomacy_dialog functions? Possibly, but that function (at least in the gtk2 client) doesn't seem to be the place where we free the dialog: diplomacy_destroy is. I don't have the patience to fix every client in this respect, but here's a lightly tested patch for gtk2 (I met with someone, added a clause, then cancelled, and it correctly called treaty_clear) and a totally untested patch for gtk.
treaty_gtk2.patch
treaty_gtk.patch
|