> CF has a naming convention that helps both programmer and compiler (especially the clang analyzer) to see retain/release bugs. > <developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html> > "Create" and "Copy" have special meaning in the convention. Clang (analysis) has the ability to emit diagnostics as HTML pages. I happened to be experimenting with a a prerelease version of clang 3.0, and gave it this code as a test. '---------- local fn MakeFoo as CFStringRef dim as CFStringRef s s = fn CFStringCreateCopy( _kCFAllocatorDefault, @"bar" ) end fn = s '---------- Here's the HTML warning, which may, and should, knock your socks off. 4toc.com/fb/report-JNKt2L.html Robert P.