Differences From Artifact [356e95e601]:
- File src/OFFileManager.m — part of check-in [d0ae3bfd6c] at 2020-10-25 23:33:09 on branch trunk — Add of_{malloc,calloc,realloc,free} (user: js, size: 24538) [annotate] [blame] [check-ins using]
To Artifact [50c6f8c9c9]:
- File
src/OFFileManager.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: 24535) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
714 715 716 717 718 719 720 | destinationURL: destination errNo: [e errNo]]; @throw e; } @finally { [sourceStream close]; [destinationStream close]; | | | 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 | destinationURL: destination errNo: [e errNo]]; @throw e; } @finally { [sourceStream close]; [destinationStream close]; free(buffer); } } else if ([type isEqual: of_file_type_symbolic_link]) { @try { OFString *linkDestination = attributes.fileSymbolicLinkDestination; [self createSymbolicLinkAtURL: destination |
︙ | ︙ |