We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Box::from_raw
1 parent a5ef40e commit 5fbb181Copy full SHA for 5fbb181
mbedtls/src/pk/mod.rs
@@ -113,7 +113,7 @@ extern "C" fn alloc_custom_pk_ctx() -> *mut c_void {
113
}
114
115
unsafe extern "C" fn free_custom_pk_ctx(p: *mut c_void) {
116
- Box::from_raw(p as *mut CustomPkContext);
+ let _ = Box::from_raw(p as *mut CustomPkContext);
117
118
119
extern "C" fn custom_pk_can_do(_t: u32) -> i32 {
0 commit comments