Bug fixes to get checks programs to work.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2436 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1997-09-23 14:03:36 +00:00
parent 7475b7306d
commit c836f35259
10 changed files with 70 additions and 47 deletions

View file

@ -80,7 +80,8 @@
- (void) dealloc
{
NSFreeHashTable (_contents_hash);
[super _collectionDealloc];
_contents_hash = 0;
[super dealloc];
}
// SET OPERATIONS;
@ -180,6 +181,8 @@
- (unsigned) count
{
if (!_contents_hash)
return 0;
return NSCountHashTable (_contents_hash);
}