This is a double free, if an api-error occurred in `buffer_get_slice` ([see](https://github.com/neovim/neovim/pull/762/files#diff-9c343d9e2b2c6c1a75a00e9e95432767L121) , needs additional `rv.items=NULL`).