Skip to main content

instr_free

Function instr_free 

Source
pub unsafe extern "C" fn instr_free(
    drcontext: *mut c_void,
    instr: *mut instr_t,
)
Expand description

Deallocates all memory that was allocated by \p instr. This includes raw bytes allocated by instr_allocate_raw_bits() and operands allocated by instr_set_num_opnds(). Does not deallocate the storage for \p instr itself (use instr_destroy() instead if \p instr was created with instr_create()).