Free allocated wrapper struct on client init failure
Further steps towards YARD specific API docs