-/* xscreensaver, Copyright (c) 2006-2013 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 2006-2015 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
- (NSAttributedString *)attributedStringValue;
{
- // #### "Build and Analyze" says this leaks. Unsure whether this is true.
- return [[NSAttributedString alloc] initWithString:[self stringValue]];
+ return [[[NSAttributedString alloc] initWithString:[self stringValue]]
+ autorelease];
}
-(void)setFloatValue:(float)v { [self setDoubleValue: (double) v]; }