Fix memory leak in SCNetworkReachability::set_callback #46
GitHub Actions / clippy
failed
Dec 27, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b2 2023-12-04)
Annotations
Check failure on line 222 in system-configuration/src/network_reachability.rs
github-actions / clippy
this public function might dereference a raw pointer but is not marked `unsafe`
error: this public function might dereference a raw pointer but is not marked `unsafe`
--> system-configuration/src/network_reachability.rs:222:17
|
222 | run_loop_mode,
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
Check failure on line 198 in system-configuration/src/network_reachability.rs
github-actions / clippy
this public function might dereference a raw pointer but is not marked `unsafe`
error: this public function might dereference a raw pointer but is not marked `unsafe`
--> system-configuration/src/network_reachability.rs:198:17
|
198 | run_loop_mode,
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
= note: `#[deny(clippy::not_unsafe_ptr_arg_deref)]` on by default
Loading