My question is about malloc and free functions interworking.
1. Where is the size of allocated by malloc memory is stored?
2. How does free function aware of the size of the memory it deallocates?
Thank you.
(Is it right not to use existing thread eether open a new one? )