]> git.sur5r.net Git - openldap/commitdiff
Apply dn_parent memory leak fix to bdb2
authorKurt Zeilenga <kurt@openldap.org>
Thu, 19 Aug 1999 18:13:10 +0000 (18:13 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 19 Aug 1999 18:13:10 +0000 (18:13 +0000)
servers/slapd/back-bdb2/dn2id.c

index b4c17be8fb280a384d17fc8a1954a9766ff55221..43707b77d9f08ce8c0b3070869aaafb29f83122e 100644 (file)
@@ -58,6 +58,7 @@ bdb2i_dn2id_add(
                        sprintf( key.dptr, "%c%s", DN_ONE_PREFIX, pdn );
                        rc = bdb2i_idl_insert_key( be, db, key, id );
                        free( key.dptr );
+                       free( pdn );
                }
        }