pub unsafe extern "C" fn svn_error_clear(error: *mut svn_error_t)
Expand description
Free the memory used by @a error, as well as all ancestors and descendants of @a error.
Unlike other Subversion objects, errors are managed explicitly; you MUST clear an error if you are ignoring it, or you are leaking memory. For convenience, @a error may be @c NULL, in which case this function does nothing; thus, svn_error_clear(svn_foo(…)) works as an idiom to ignore errors.