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.
2 parents da49e4f + bbe4749 commit c5db0eaCopy full SHA for c5db0ea
src/mount/bsd.rs
@@ -397,7 +397,7 @@ impl<'a> Drop for Nmount<'a> {
397
// Free the owned string. Safe because we recorded ownership,
398
// and Nmount does not implement Clone.
399
unsafe {
400
- CString::from_raw(iov.0.iov_base as *mut c_char);
+ drop(CString::from_raw(iov.0.iov_base as *mut c_char));
401
}
402
403
0 commit comments