We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c07ddbc commit 29b4a3eCopy full SHA for 29b4a3e
1 file changed
src/common.rs
@@ -777,6 +777,7 @@ impl From<&[CustomAction]> for custom_actions {
777
.iter()
778
.map(|action| BoxCastPtr::to_mut_ptr(action.clone()))
779
.collect();
780
+ ffi_values.shrink_to_fit();
781
let array = Self {
782
length,
783
values: ffi_values.as_mut_ptr(),
0 commit comments