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:
parent
0bfaa28b3f
commit
c38002b50c
@ -563,6 +563,14 @@ static id ShipGroupIterate(OOShipGroupEnumerator *enumerator)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
- (void) dealloc
|
||||||
|
{
|
||||||
|
DESTROY(_group);
|
||||||
|
|
||||||
|
[super dealloc];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
- (id) nextObject
|
- (id) nextObject
|
||||||
{
|
{
|
||||||
return ShipGroupIterate(self);
|
return ShipGroupIterate(self);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user