Overview
Comment: | Fix a memory leak in OFURL. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 0.5 |
Files: | files | file ages | folders |
SHA3-256: |
971f8e1b0ecfc097bd0b8aae2049f719 |
User & Date: | js on 2011-07-14 23:17:01 |
Other Links: | branch diff | manifest | tags |
Context
2011-07-17
| ||
00:57 | Get rid of unnecessary includes of unistd.h in headers. check-in: 368fffb61e user: js tags: 0.5 | |
2011-07-14
| ||
23:17 | Fix a memory leak in OFURL. check-in: 971f8e1b0e user: js tags: 0.5 | |
23:15 | Fix missing autoreleases in OFBlockTests.m. check-in: 47611ea871 user: js tags: 0.5 | |
Changes
Modified src/OFURL.m from [0accfd5d18] to [e8ba92cbd3].
︙ | ︙ | |||
157 158 159 160 161 162 163 | *tmp2 = '\0'; tmp2++; host = [[OFString alloc] initWithCString: str_c]; pool = [[OFAutoreleasePool alloc] init]; | | | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | *tmp2 = '\0'; tmp2++; host = [[OFString alloc] initWithCString: str_c]; pool = [[OFAutoreleasePool alloc] init]; port_str = [OFString stringWithCString: tmp2]; if ([port_str decimalValue] > 65535) @throw [OFInvalidFormatException newWithClass: isa]; port = [port_str decimalValue]; |
︙ | ︙ |