mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
(-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:
parent
d20d3fe7bc
commit
ccda8c7cb6
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue