Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] (PR#14849) numerous memory leaks in ggz-config?
Home

[Freeciv-Dev] (PR#14849) numerous memory leaks in ggz-config?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14849) numerous memory leaks in ggz-config?
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Dec 2005 17:15:05 -0800
Reply-to: bugs@xxxxxxxxxxx

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

All of the ggz_mallocs of globalpathname in ggz-config.c seem to be 
unmatched.

Why is a malloc needed here anyway?  Just declare the data on the stack.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14849) numerous memory leaks in ggz-config?, Jason Short <=