[][src]Function opensc_sys::list_destroy

pub unsafe extern "C" fn list_destroy(l: *mut list_t)

completely remove the list from memory.

This function is the inverse of list_init(). It is meant to be called when the list is no longer going to be used. Elements and possible memory taken for internal use are freed.

@param l list to destroy