Please sign in to comment.
Fixed reference count underflow runtime errors originating from Regex…
…KitLite. The problem seems to be connected to using RegexKitLite in garbage collected environment. Pinpointed it by setting the breakpoint to auto_refcount_underflow_error and debugging in Xcode. This is a quick fix and should be tested to proove nothing leaks, but as the utility has short life span, it shouldn't do much harm... Here's excerpt from Apple's Garbage Collection Programming Guide, Using Core Foundation with Garbage Collection section: "Conversely, using CFRelease to release an object you have previously retained using retain will result in a reference count underflow error".
- Loading branch information...
Showing with 1 addition and 1 deletion.