Couchbase Ruby client library

struct freed before rasied