Yes. sys_malloc is an engine function with many safeguards, while malloc is just the common C/C++ function, with safeguarding in the programmer's responsibility.