aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source
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 /Frameworks/SPMySQLFramework/Source
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 'Frameworks/SPMySQLFramework/Source')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLResult Categories/Convenience Methods.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLResult Categories/Convenience Methods.m b/Frameworks/SPMySQLFramework/Source/SPMySQLResult Categories/Convenience Methods.m
index 2b049264..4d18db18 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLResult Categories/Convenience Methods.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLResult Categories/Convenience Methods.m
@@ -65,7 +65,7 @@
// Instead of empty arrays, return nil if there are no rows.
if (![rowsToReturn count]) return nil;
- return rowsToReturn;
+ return [rowsToReturn autorelease];
}
@end