Comments for NSCharacterSet (BSNewLineCharacterSet) http://codebeach.org/code/show/1 Comments feed for NSCharacterSet (BSNewLineCharacterSet) en-us Fri, 27 Apr 2007 17:17:59 +0000 Brad Miller says: http://codebeach.org/code/show/1 codebeach.org:comment:4 There's a leak in this snippet. A CFRelease(newlineCFCharacterSet) needs to be added at the bottom of the if block. Either that or don't make a copy for newlineCharacterSet. It's being crated from a mutable copy, so you own it.<br /><br /> Sun, 29 Apr 2007 04:21:33 +0000 Michele Balistreri says: http://codebeach.org/code/show/1 codebeach.org:comment:5 You are correct. I've applied the fix and tested it. Thank you!<br /><br />