(-dealloc): Added call to NSDeallocateObject() to ensure that the

memory used by the enumerator is released.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2026 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1997-01-09 15:39:41 +00:00
parent d20d3fe7bc
commit ccda8c7cb6

View file

@ -48,6 +48,11 @@
{
[collection freeEnumState: &enum_state];
[collection release];
/* xxx
* I don't understand this - but calling [super dealloc] screws up
* so we use NSDeallocateObject() instead.
*/
NSDeallocateObject(self);
}
@end