mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
7475b7306d
commit
c836f35259
10 changed files with 70 additions and 47 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue