ObjFW  Check-in [a2b4238850]

Overview
Comment:Future-proof some code using freeWhenDone

While -[OFData initWithDataNoCopy:count:itemSize:freeWhenDone:] can
currently never throw, it might in the future, and when it does so in
the future, these would be memory leaks then.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a2b42388504c320dab245ce47c256e4eb5af1d7fcc92e07b17607d58e0537daa
User & Date: js on 2020-11-06 02:24:14
Other Links: manifest | tags
Context
2020-11-06
02:37
OFString: Make freeWhenDone behave like in OFData check-in: 0f260e0fd5 user: js tags: trunk
02:24
Future-proof some code using freeWhenDone check-in: a2b4238850 user: js tags: trunk
02:12
OFData: Make parameter order more consistent check-in: 9d74d1b74e user: js tags: trunk
Changes