[−][src]Function libcoap_sys::coap_free_type
pub unsafe extern "C" fn coap_free_type(
type_: coap_memory_tag_t,
p: *mut c_void
)
Releases the memory that was allocated by coap_malloc_type(). The type tag @p type must be the same that was used for allocating the object pointed to by @p .
@param type The type of the object to release. @param p A pointer to memory that was allocated by coap_malloc_type().