]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/add.c
Converted all use of dn_parent to the in-place version. (Fixed a pdn leak
[openldap] / servers / slapd / back-bdb / add.c
index b098bb499cd27af461d0cabd6b3030e86b5d0ba5..8373f69349ea4972068caadf7868565827193115 100644 (file)
@@ -93,7 +93,7 @@ retry:        rc = txn_abort( ltid );
         * If the parent does not exist, only allow the "root" user to
         * add the entry.
         */
-       pdn = dn_parent1( be, e->e_ndn );
+       pdn = dn_parent( be, e->e_ndn );
 
        if( pdn != NULL && *pdn != '\0' ) {
                Entry *matched = NULL;