]> git.sur5r.net Git - openldap/commitdiff
Fix dn_parent memory leak.
authorKurt Zeilenga <kurt@openldap.org>
Thu, 19 Aug 1999 16:51:43 +0000 (16:51 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 19 Aug 1999 16:51:43 +0000 (16:51 +0000)
servers/slapd/back-ldbm/dn2id.c

index 0b3dbece3691cffa805497a5735a259e751e61e2..2e1238ec9f78b9208338b8c8c59f19a32c832479 100644 (file)
@@ -62,6 +62,7 @@ dn2id_add(
                        sprintf( key.dptr, "%c%s", DN_ONE_PREFIX, pdn );
                        rc = idl_insert_key( be, db, key, id );
                        free( key.dptr );
+                       free( pdn );
                }
        }