Permalink
Browse files

fixed a memory leak

  • Loading branch information...
1 parent e03c375 commit 8ea2841fe17768efb5a7f6e5b5a05766828acb48 Simone Manganelli committed Jun 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Plugin/CTFPreferencesDictionary.m
@@ -19,7 +19,7 @@ @implementation CTFPreferencesDictionary
+ (id)dictionaryWithDictionary:(NSDictionary *)otherDictionary;
{
- return [[CTFPreferencesDictionary alloc] initWithDictionary:otherDictionary];
+ return [[[CTFPreferencesDictionary alloc] initWithDictionary:otherDictionary] autorelease];
}
+ (id)allocWithZone:(NSZone *)zone;

0 comments on commit 8ea2841

Please sign in to comment.