diff options
Diffstat (limited to 'Foundation/GTMRegex.m')
-rw-r--r-- | Foundation/GTMRegex.m | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Foundation/GTMRegex.m b/Foundation/GTMRegex.m index d0b831c..238ca48 100644 --- a/Foundation/GTMRegex.m +++ b/Foundation/GTMRegex.m @@ -190,19 +190,6 @@ static NSString *const kReplacementPattern = return self; } -#if GTM_SUPPORT_GC -- (void)finalize { - // we used pattern_ as our flag that we initialized the regex_t - if (pattern_) { - regfree(®exData_); - [pattern_ release]; - // play it safe and clear it since we use it as a flag for regexData_ - pattern_ = nil; - } - [super finalize]; -} -#endif - - (void)dealloc { // we used pattern_ as our flag that we initialized the regex_t if (pattern_) { |