Overview
| Comment: | Fix a memory leak in OFURL. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
06bbeb185a84f9599ac5dfd8943eaa9b |
| User & Date: | js on 2011-07-14 23:17:01 |
| Other Links: | manifest | tags |
Context
|
2011-07-14
| ||
| 23:19 | Fix a memory leak in OFArray. (check-in: 41cdf54612 user: js tags: trunk) | |
| 23:17 | Fix a memory leak in OFURL. (check-in: 06bbeb185a user: js tags: trunk) | |
| 23:15 | Fix missing autoreleases in OFBlockTests.m. (check-in: 33c7abb54b user: js tags: trunk) | |
Changes
Modified src/OFURL.m from [221a47cb00] to [d4ad83d094].
| ︙ | ︙ | |||
151 152 153 154 155 156 157 | *tmp2 = '\0'; tmp2++; host = [[OFString alloc] initWithCString: cString]; pool = [[OFAutoreleasePool alloc] init]; | | | 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | *tmp2 = '\0'; tmp2++; host = [[OFString alloc] initWithCString: cString]; pool = [[OFAutoreleasePool alloc] init]; portString = [OFString stringWithCString: tmp2]; if ([portString decimalValue] > 65535) @throw [OFInvalidFormatException newWithClass: isa]; port = [portString decimalValue]; |
| ︙ | ︙ |