tinyalloc icon indicating copy to clipboard operation
tinyalloc copied to clipboard

malloc / free replacement for unmanaged, linear memory situations (e.g. WASM, embedded devices...)

Results 8 tinyalloc issues
Sort by recently updated
recently updated
newest added

Fix Visual Studio compilation errors.

Hi @postspectacular, I noticed there haven't been any commits in master for a while, and a couple of PRs have been sitting for a bit too. Are you still interested...

- Add early NULL check to ta_free() - Add overflow checks in alloc_block() and ta_calloc() - Clear full block size to 0's in ta_calloc() - Optionally set errno to ENOMEM...

Calling `ta_alloc(0)` and then another `ta_alloc()` (of any size) appears to be returning the same address twice. Having two memory blocks sharing the same address is bad since there is...

Multiple heaps can be useful for isolating memory into multiple areas that can be used for different purposes, with individual limits. - Add a config struct (ta_cfg_t, can be declared...

Fix first buffer alignment