Differences From Artifact [2174d3a707]:
- File src/OFConcreteData.m — part of check-in [6da6276ae7] at 2023-08-09 08:25:51 on branch trunk — More consistent naming for concrete classes (user: js, size: 2143) [annotate] [blame] [check-ins using] [more...]
To Artifact [2b3ef496b7]:
- File
src/OFConcreteData.m
— part of check-in
[c07f192cfa]
at
2023-09-13 22:05:09
on branch trunk
— OFConcreteData: Fix freeWhenDone not being set
This resulted in a memory leak. (user: js, size: 2167) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 46 47 | self = [super init]; @try { if (itemSize == 0) @throw [OFInvalidArgumentException exception]; _itemSize = itemSize; } @catch (id e) { [self release]; @throw e; } return self; } | > | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | self = [super init]; @try { if (itemSize == 0) @throw [OFInvalidArgumentException exception]; _itemSize = itemSize; _freeWhenDone = true; } @catch (id e) { [self release]; @throw e; } return self; } |
︙ | ︙ |