Fixed leak in ship group iteration.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4567 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2011-06-24 11:25:18 +00:00
parent 0bfaa28b3f
commit c38002b50c

View File

@ -563,6 +563,14 @@ static id ShipGroupIterate(OOShipGroupEnumerator *enumerator)
}
- (void) dealloc
{
DESTROY(_group);
[super dealloc];
}
- (id) nextObject
{
return ShipGroupIterate(self);