Revision: 17930
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=17930&view=rev
Author: hofman
Date: 2011-06-03 17:16:56 +0000 (Fri, 03 Jun 2011)
Log Message:
-----------
don't autorelease cached date formatter
Modified Paths:
--------------
trunk/bibdesk/BibItem.m
Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m 2011-06-03 11:49:22 UTC (rev 17929)
+++ trunk/bibdesk/BibItem.m 2011-06-03 17:16:56 UTC (rev 17930)
@@ -1353,7 +1353,7 @@
return nil;
static NSDateFormatter *formatter = nil;
if (formatter == nil) {
- formatter = [[[NSDateFormatter alloc] init] autorelease];
+ formatter = [[NSDateFormatter alloc] init];
[formatter setFormatterBehavior:NSDateFormatterBehavior10_4];
[formatter setLocale:[NSLocale currentLocale]]; // is this
necessary?
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit