`Buffer` won't deallocate this memory, though, because it has a trivial destructor. The safest thing would be to use a `std::string` to transfer the internal state of the input `std::string` and have deallocation handled by RAII
[ Full content available at: https://github.com/apache/arrow/pull/2660 ] This message was relayed via gitbox.apache.org for [email protected]
