diff --git a/tests/support/uaf/uaf_swithint_FP/Cargo.toml b/tests/support/uaf/uaf_swithint/Cargo.toml similarity index 100% rename from tests/support/uaf/uaf_swithint_FP/Cargo.toml rename to tests/support/uaf/uaf_swithint/Cargo.toml diff --git a/tests/support/uaf/uaf_swithint_FP/src/main.rs b/tests/support/uaf/uaf_swithint/src/main.rs similarity index 92% rename from tests/support/uaf/uaf_swithint_FP/src/main.rs rename to tests/support/uaf/uaf_swithint/src/main.rs index 27f50f2..a2aaa74 100644 --- a/tests/support/uaf/uaf_swithint_FP/src/main.rs +++ b/tests/support/uaf/uaf_swithint/src/main.rs @@ -12,6 +12,7 @@ fn evil_test(a: A) { if count < 2 { unsafe { ManuallyDrop::drop(&mut slot); + ManuallyDrop::drop(&mut slot); } continue; }