Hi, experts,
The last parameter for Memory_free is size, but I wonder why we need size? We know standand C function "free" doesn't need size as a parameter, because the size is saved in somewhere in the header of the allocated buffer.
If we pass a size that is different from the size we passed to "Memory_alloc", what will happen? For example, if we pass a smaller size than allocated, can we still use the reset of the buffer?
Thanks