aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-12-14 01:23:29 +0000
committerrowanbeentje <rowan@beent.je>2009-12-14 01:23:29 +0000
commit5247ac10ff8d1fe91756c60dfd05605e8bc3d884 (patch)
tree5aa40a57a722c2b38d9759ff772530960d3d3d98 /Source/SPNarrowDownCompletion.m
parent5298595375e55bb70edae0ddf17d921a299b1014 (diff)
downloadsequelpro-5247ac10ff8d1fe91756c60dfd05605e8bc3d884.tar.gz
sequelpro-5247ac10ff8d1fe91756c60dfd05605e8bc3d884.tar.bz2
sequelpro-5247ac10ff8d1fe91756c60dfd05605e8bc3d884.zip
- Work through static analysis of the source, fixing a number of small memory leaks and fixing a couple of over-releases
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r--Source/SPNarrowDownCompletion.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index e47a128a..378bec77 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -195,7 +195,7 @@
NSTableColumn *column = [[[NSTableColumn alloc] initWithIdentifier:@"foo"] autorelease];
//
- [column setDataCell:[ImageAndTextCell new]];
+ [column setDataCell:[[ImageAndTextCell new] autorelease]];
[column setEditable:NO];
[theTableView addTableColumn:column];
[column setWidth:[theTableView bounds].size.width];