Differences From Artifact [c27ed01d4c]:
- File src/OFHTTPClient.m — part of check-in [4bbac7ab17] at 2020-11-01 11:35:03 on branch trunk — OFString: Add -[substring{From,To}Index:] (user: js, size: 30275) [annotate] [blame] [check-ins using]
To Artifact [eedb53c084]:
- File
src/OFHTTPClient.m
— part of check-in
[3d8286feee]
at
2020-11-04 23:18:25
on branch trunk
— Remove of_free()
While it makes sense to wrap malloc and calloc to replace the error
checking with exceptions, it does not make sense to wrap free. (user: js, size: 30272) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
520 521 522 523 524 525 526 | keyC[tmp - lineC] = '\0'; normalizeKey(keyC); @try { key = [OFString stringWithUTF8StringNoCopy: keyC freeWhenDone: true]; } @catch (id e) { | | | 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 | keyC[tmp - lineC] = '\0'; normalizeKey(keyC); @try { key = [OFString stringWithUTF8StringNoCopy: keyC freeWhenDone: true]; } @catch (id e) { free(keyC); @throw e; } do { tmp++; } while (*tmp == ' '); |
︙ | ︙ |