less allocating
add missing inference for Malloc, added to the unique-ptr testcase