Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] (PR#6650) memory leak in remove_city
Home

[Freeciv-Dev] (PR#6650) memory leak in remove_city

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6650) memory leak in remove_city
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Oct 2003 10:14:29 -0800
Reply-to: rt@xxxxxxxxxxxxxx

The mystrdup in remove_city() in citytools.c is not fully matched by a 
free() call.

This would be a good use for variable-sized arrays (PR#6360).

jason




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