diff options
Diffstat (limited to 'Source/SPFavoritesImporter.m')
-rw-r--r-- | Source/SPFavoritesImporter.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/SPFavoritesImporter.m b/Source/SPFavoritesImporter.m index f33e1705..bb027104 100644 --- a/Source/SPFavoritesImporter.m +++ b/Source/SPFavoritesImporter.m @@ -73,12 +73,10 @@ NSFileManager *fileManager = [NSFileManager defaultManager]; if ([fileManager fileExistsAtPath:[self importPath]]) { - importData = [[NSDictionary alloc] initWithContentsOfFile:[self importPath]]; + importData = [[[NSDictionary alloc] initWithContentsOfFile:[self importPath]] autorelease]; NSArray *favorites = [importData valueForKey:SPFavoritesDataRootKey]; - [importData release]; - if (favorites) { [self _informDelegateOfImportDataAvailable:favorites]; } |