Permalink
Browse files

missed a -finalize method for GC mode

  • Loading branch information...
1 parent c954d51 commit e3d924d0b5e09e42f12ad5aa7fd7330440a92f20 @davedelong davedelong committed Sep 29, 2011
Showing with 4 additions and 6 deletions.
  1. +4 −0 DDMathParser/DDMathStringTokenizer.m
  2. +0 −6 README.markdown
@@ -103,6 +103,10 @@ - (id)initWithString:(NSString *)expressionString error:(NSError **)error {
return self;
}
+- (void)finalize {
+ free(_characters);
+}
+
- (void)dealloc {
free(_characters);
#if !HAS_ARC
View
@@ -4,12 +4,6 @@
Please see [the DDMathParser wiki](https://github.com/davedelong/DDMathParser/wiki) for up-to-date documentation.
-## Compatibility
-
-`DDMathParser` requires blocks, so therefore is only compatible with iOS 4+ and Mac OS X 10.6+.
-
-Though it has not been tested, `DDMathParser` should be fully compatible with garbage collected applications.
-
## License
Copyright (c) 2010-2011 Dave DeLong

0 comments on commit e3d924d

Please sign in to comment.