Permalink
Browse files

Don't compile -finalize in ARC mode

  • Loading branch information...
1 parent 305d66b commit 3c6cbc23376dfb4e25a3bfda8d81672a7729e090 Gleb Dolgich committed Jun 17, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 objc/CFobLicGenerator.m
  2. +2 −0 objc/CFobLicVerifier.m
@@ -48,6 +48,7 @@ - (id)init
return self;
}
+#if !__has_feature(objc_arc)
- (void)finalize
{
if (self.dsa)
@@ -56,6 +57,7 @@ - (void)finalize
[self shutdownOpenSSL];
[super finalize];
}
+#endif
- (void)dealloc
{
@@ -81,12 +81,14 @@ - (id)init
return self;
}
+#if !__has_feature(objc_arc)
- (void)finalize
{
if (self.dsa)
DSA_free(self.dsa);
[super finalize];
}
+#endif
- (void)dealloc
{

0 comments on commit 3c6cbc2

Please sign in to comment.