Index: src/OFDataArray.m ================================================================== --- src/OFDataArray.m +++ src/OFDataArray.m @@ -207,11 +207,11 @@ data = [self resizeMemory: data toNItems: count withSize: itemSize]; } @catch (OFOutOfMemoryException *e) { /* We don't really care, as we only made it smaller */ - [e dealloc]; + [e release]; } } - (void)removeNItems: (size_t)nitems atIndex: (size_t)index @@ -227,11 +227,11 @@ data = [self resizeMemory: data toNItems: count withSize: itemSize]; } @catch (OFOutOfMemoryException *e) { /* We don't really care, as we only made it smaller */ - [e dealloc]; + [e release]; } } - copy { Index: src/OFMutableString.m ================================================================== --- src/OFMutableString.m +++ src/OFMutableString.m @@ -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 Index: src/OFStream.m ================================================================== --- src/OFStream.m +++ src/OFStream.m @@ -39,14 +39,12 @@ @implementation OFStream #ifndef _WIN32 + (void)initialize { - if (self != [OFStream class]) - return; - - signal(SIGPIPE, SIG_IGN); + if (self == [OFStream class]) + signal(SIGPIPE, SIG_IGN); } #endif - init {