aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoriteNode.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-04-12 23:48:20 +0000
committerrowanbeentje <rowan@beent.je>2012-04-12 23:48:20 +0000
commit5ce91070b5ff229de819d5e4b68fcae72297f634 (patch)
tree25763d533323cdee786d8dc629ec1310f7b30892 /Source/SPFavoriteNode.m
parent25b0b6857cd501277790c64d90850e1ddf56e5af (diff)
downloadsequelpro-5ce91070b5ff229de819d5e4b68fcae72297f634.tar.gz
sequelpro-5ce91070b5ff229de819d5e4b68fcae72297f634.tar.bz2
sequelpro-5ce91070b5ff229de819d5e4b68fcae72297f634.zip
- Manually handle some SPFileHandle memory management to significantly improve memory usage during large exports, particularly improving memory which appeared to never be reclaimed
- Fix some minor memory leaks throughout the application
Diffstat (limited to 'Source/SPFavoriteNode.m')
-rw-r--r--Source/SPFavoriteNode.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPFavoriteNode.m b/Source/SPFavoriteNode.m
index 51a9d1aa..f8eb1745 100644
--- a/Source/SPFavoriteNode.m
+++ b/Source/SPFavoriteNode.m
@@ -38,7 +38,7 @@
[self setNodeIsGroup:NO];
[self setNodeName:nil];
[self setNodeFavorite:nil];
- [self setNodeChildren:[[NSMutableArray alloc] init]];
+ [self setNodeChildren:[NSMutableArray array]];
}
return self;