That section of the test allocates 50K, then frees it, then repeats 200 times. During this process, it checks the amount of available memory, as reported by Canon code.
The error message indicates that m0 = m1 (before and after _malloc). Therefore, either _malloc is not working properly (unlikely, since it passes the previous tests, so it probably returned a valid value) or the amount of free memory is not reported correctly (GetFreeMemForMalloc -> MALLOC_FREE_MEMORY in consts.h).