mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
([NSGDictionaryKeyEnumerator -initWithDictionary:]): Retain dictionary
after it is initialized. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@632 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d15b491be6
commit
e2156fc92b
1 changed files with 1 additions and 1 deletions
|
@ -41,8 +41,8 @@
|
|||
- initWithDictionary: (NSDictionary*)d
|
||||
{
|
||||
[super init];
|
||||
[dictionary retain];
|
||||
dictionary = d;
|
||||
[dictionary retain];
|
||||
enum_state = 0;
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue