This function frees both the contents of the Slapi_RDN structure and the structure itself pointed to by the content of rdn.