@@ -403,11 +403,11 @@ @try { string = [self resizeMemory: string toSize: length + 1]; } @catch (OFOutOfMemoryException *e) { /* We don't really care, as we only made it smaller */ - [e dealloc]; + [e release]; } } - (void)removeCharactersInRange: (of_range_t)range { @@ -520,11 +520,11 @@ @try { string = [self resizeMemory: string toSize: length + 1]; } @catch (OFOutOfMemoryException *e) { /* We don't really care, as we only made it smaller */ - [e dealloc]; + [e release]; } } - (void)removeTrailingWhitespaces { @@ -545,11 +545,11 @@ @try { string = [self resizeMemory: string toSize: length + 1]; } @catch (OFOutOfMemoryException *e) { /* We don't really care, as we only made it smaller */ - [e dealloc]; + [e release]; } } - (void)removeLeadingAndTrailingWhitespaces { @@ -579,14 +579,14 @@ @try { string = [self resizeMemory: string toSize: length + 1]; } @catch (OFOutOfMemoryException *e) { /* We don't really care, as we only made it smaller */ - [e dealloc]; + [e release]; } } - copy { return [[OFString alloc] initWithString: self]; } @end