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.
1 parent da49e4f commit bbe4749Copy full SHA for bbe4749
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