Skip to main content

free_command

Function free_command 

Source
pub unsafe fn free_command(command: *mut PmpxCommand)
Expand description

Release everything write_command allocated, without touching the struct itself (it lives on the host’s stack).

§Safety

command must come from one successful write_command on this side, and must be released once.