#[unsafe(no_mangle)]pub unsafe extern "C" fn xmlMemFree(ptr: *mut c_void)Expand description
Free memory through the debug allocator (upstream xmlmemory.h).
void xmlMemFree(void *ptr);Un-records the block and frees it. NULL is a no-op.
ยงSAFETY
ptrmust be valid pointers (or NULL where the upstream C contract allows), obtained from the matching constructor/owner and not yet freed; the callee may take or keep ownership exactly as the C API specifies.