int ldap_str2dn( const char *str, LDAPDN *dn, unsigned flags )
 .LP
 .ft B
-int ldap_dn2str( LDAPDN *dn, char **str, unsigned flags )
+void ldap_dnfree( LDAPDN dn )
+.LP
+.ft B
+int ldap_dn2str( LDAPDN dn, char **str, unsigned flags )
 .LP
 .ft B
 char **ldap_explode_dn( const char *dn, int notypes )
 .B LDAPRDN,
 and 
 .B LDAPDN
-terms, defined as:
+terms.  Space for
+.B dn
+will be obtained dynamically and should be freed by the caller using
+.BR ldap_dnfree (3).
+The
+.B LDAPDN
+is defined as:
 .nf
 .ft B