Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | chunix/challoc.c (ch_alloc): Allocate objects of size void *. [usim:d0239da7bb] |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | ams/ch_alloc-asan |
Files: | files | file ages | folders |
SHA3-256: |
1e9bef16810c0d19bed234d3df700865 |
User & Date: | ams 2020-10-26 14:32:10 |
Context
2020-11-11
| ||
07:31 | Merge ams/ch_alloc-asan. check-in: a4efdabb48 user: ams tags: trunk | |
2020-10-26
| ||
14:32 | chunix/challoc.c (ch_alloc): Allocate objects of size void *. [usim:d0239da7bb] Closed-Leaf check-in: 1e9bef1681 user: ams tags: ams/ch_alloc-asan | |
2020-04-26
| ||
20:12 | chncp/chutil.c: Use TAILQ_* instead of SIMPLEQ_*. check-in: 2410295b83 user: ams tags: trunk | |
Changes
Changes to chunix/challoc.c.
︙ | ︙ | |||
10 11 12 13 14 15 16 | #include <sys/types.h> #include <sys/uio.h> #endif void * ch_alloc(int size, int cantwait) { | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #include <sys/types.h> #include <sys/uio.h> #endif void * ch_alloc(int size, int cantwait) { return calloc(size, sizeof(void *)); } void ch_free(void *p) { free((void *)p); } |
︙ | ︙ |