[futurebasic] CGColorGetComponents

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2011 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Wed, 24 Aug 2011 09:58:54 -0400
Backchannel Bernie noted the following leak fix in my earlier code:

dim as CFLocaleRef          locale

locale = fn CFLocaleCopyCurrent()
formatter = fn CFNumberFormatterCreate (_kCFAllocatorDefault, locale, 
_kCFNumberFormatterDecimalStyle )
CFRelease( locale )