Overview
Comment: | This is more safe. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7ddd9e5d351f44aff8bb8e973a713780 |
User & Date: | js on 2008-12-14 02:12:53 |
Other Links: | manifest | tags |
Context
2008-12-14
| ||
11:47 | Nicer output for OFHashes tests. check-in: 7172d2539b user: js tags: trunk | |
02:12 | This is more safe. check-in: 7ddd9e5d35 user: js tags: trunk | |
02:03 | Fix check for asprintf. check-in: 094c6ad5f4 user: js tags: trunk | |
Changes
Modified tests/OFObject/OFObject.m from [86c3211652] to [07688dcb04].
︙ | ︙ | |||
92 93 94 95 96 97 98 | puts("Trying to resize NULL to 1024 bytes..."); p = [obj resizeMem: NULL toSize: 1024]; [obj freeMem: p]; puts("Trying to resize memory that is not part of object..."); | | | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | puts("Trying to resize NULL to 1024 bytes..."); p = [obj resizeMem: NULL toSize: 1024]; [obj freeMem: p]; puts("Trying to resize memory that is not part of object..."); CATCH_EXCEPTION(p = [obj resizeMem: (void*)1 toSize: 1024], OFMemNotPartOfObjException) /* TODO: Test if freeing object frees all memory */ return 0; } |