Check that malloc or asprint was successful
Merge pull request #485 from sb8244/malloc-warnings

Check that malloc or asprint was successful
RUBY-805 Always return an Array from collections_info