Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed a memory leak

  • Loading branch information...
commit 8ea2841fe17768efb5a7f6e5b5a05766828acb48 1 parent e03c375
Simone Manganelli authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Plugin/CTFPreferencesDictionary.m
2  Plugin/CTFPreferencesDictionary.m
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.