Closed solan-solan closed 1 year ago
I used the function such a way:
Now, Data::_impl.attach_abi(...) will free memory inside _Tidy() through the _Alloc::reallocate, and returned pointer is invalidated. It does not look like expected behavior
(updated axmol up to 798689a6102e61e5da72821cda1cff69ba162a1b [798689a])
use takeBuffer is better in your use case
yes, it will fit, thanks
I used the function such a way:
Now, Data::_impl.attach_abi(...) will free memory inside _Tidy() through the _Alloc::reallocate, and returned pointer is invalidated. It does not look like expected behavior
(updated axmol up to 798689a6102e61e5da72821cda1cff69ba162a1b [798689a])