mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-10-02 18:23:21 +08:00
The old code pass the error code to metal_free_memory in failure which is obviously wrong: 1. Generate the memory leak 2. May corrupt the heap manager Signed-off-by: chao an <anchao@xiaomi.com>