Skip to content

Convert vectors used for memory allocation into boxed slices when passing data buffers to libolm

Johannes Hayeß requested to merge more_memory_fixes into master

As a result of this we can simply pass ownership of the data buffer back to Rust with Box::from_raw().

This fixes a major memory problem that would previously result in a SIGSEGV.

Merge request reports