aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMRegex.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-02 13:00:13 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-02 13:00:13 +0000
commit3d42089a8fac73ca2c437fdfffaffc12ac540159 (patch)
tree25df431d42703439793720061f3ba213ea7fe7ee /Foundation/GTMRegex.m
parent2c2586d12e7757a41a1eda0c47c6b9c2fabe970e (diff)
[Author: thomasvl]
Remove the GC support code. Add the needed images for the iOS unittests under iOS 6.0. Add a workspace file for the iPhone project. R=dmaclach DELTA=215 (85 added, 122 deleted, 8 changed)
Diffstat (limited to 'Foundation/GTMRegex.m')
-rw-r--r--Foundation/GTMRegex.m13
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(&regexData_);
- [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_) {