Overview
Comment: | -[OFData initWithContentsOfIRI:]: Fix memory leak |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
082c0f8d0f56ed6686bd5a33d1559614 |
User & Date: | js on 2023-09-13 22:00:52 |
Other Links: | manifest | tags |
Context
2023-09-13
| ||
22:05 | OFConcreteData: Fix freeWhenDone not being set check-in: c07f192cfa user: js tags: trunk | |
22:00 | -[OFData initWithContentsOfIRI:]: Fix memory leak check-in: 082c0f8d0f user: js tags: trunk | |
2023-09-10
| ||
23:44 | Update ChangeLog check-in: a49816fe45 user: js tags: trunk | |
Changes
Modified src/OFData.m from [753e5c551b] to [33c2057892].
︙ | ︙ | |||
306 307 308 309 310 311 312 | items = OFResizeMemory(items, count + length, 1); memcpy(items + count, buffer, length); count += length; } objc_autoreleasePoolPop(pool); } @catch (id e) { | < > > | 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | items = OFResizeMemory(items, count + length, 1); memcpy(items + count, buffer, length); count += length; } objc_autoreleasePoolPop(pool); } @catch (id e) { OFFreeMemory(items); [self release]; @throw e; } @finally { OFFreeMemory(buffer); } @try { self = [self initWithItemsNoCopy: items count: count freeWhenDone: true]; } @catch (id e) { |
︙ | ︙ |