Fix memory leak

It's unfortunate we need to make two copies..  Go to C, then C to mruby, but it looks like that is what needs to happen.  It seems as if we should be able to optimise that... another day.

thanks for your project!

nickg