Fix for issue #79

Don’t leave a single unchecked malloc