diff options
author | rowanbeentje <rowan@beent.je> | 2012-04-12 23:48:20 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-04-12 23:48:20 +0000 |
commit | 5ce91070b5ff229de819d5e4b68fcae72297f634 (patch) | |
tree | 25763d533323cdee786d8dc629ec1310f7b30892 /Frameworks/SPMySQLFramework/Source/SPMySQLResult Categories | |
parent | 25b0b6857cd501277790c64d90850e1ddf56e5af (diff) | |
download | sequelpro-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/SPMySQLResult Categories')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLResult Categories/Convenience Methods.m | 2 |
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 |