joyent/node — pull request #6086 by trevnorris (2013-08-20 18:09:15+00:00)
Title: smalloc: make C++ API consistent

`smalloc::Alloc()` expected the array length, despite array type, if no `char*` was passed, but the byte length of the data if it was. Fix so it always expects the byte length of the data.