Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 099d3708 authored by Charisee's avatar Charisee Committed by Automerger Merge Worker
Browse files

Change request for Rust v1.64.0 am: 5b8226aa

parents c6c2c8b2 5b8226aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -79,7 +79,7 @@ pub extern "C" fn frontend_stop(doh: &mut DohFrontend) -> bool {
#[no_mangle]
#[no_mangle]
pub unsafe extern "C" fn frontend_delete(doh: *mut DohFrontend) {
pub unsafe extern "C" fn frontend_delete(doh: *mut DohFrontend) {
    if !doh.is_null() {
    if !doh.is_null() {
        Box::from_raw(doh);
        drop(Box::from_raw(doh));
    }
    }
}
}