in rust/ccommon-rs/src/ccbox.rs [121:135]
fn drop(&mut self) {
use std::ptr;
if mem::size_of_val(&**self) != 0 {
unsafe {
ptr::drop_in_place(self.0.as_ptr());
_cc_free(
self.0.as_ptr() as *mut std::ffi::c_void,
c_str!(module_path!()),
line!() as std::os::raw::c_int,
);
}
}
}