Set allocations free
Moderators: RoccoMarco, lbednarz, tfAteba
Set allocations free
Is it bad to use malloc and chHeapAlloc in an application? Would freeing allocations be a problem?
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Set allocations free
It is possible if the C runtime feeds its internal allocator using the ChibiOS "Core Allocator". This is how syscalls.c does it usually.
Giovanni
Giovanni