don't free dangling pointers :(

This commit is contained in:
Pierangelo Masarati 2002-02-14 18:15:56 +00:00
parent c31596eb78
commit 55993dc66a

View File

@ -63,8 +63,8 @@ ldbm_back_modrdn(
char textbuf[SLAP_TEXT_BUFLEN]; char textbuf[SLAP_TEXT_BUFLEN];
size_t textlen = sizeof textbuf; size_t textlen = sizeof textbuf;
/* Added to support LDAP v2 correctly (deleteoldrdn thing) */ /* Added to support LDAP v2 correctly (deleteoldrdn thing) */
LDAPRDN *new_rdn; LDAPRDN *new_rdn = NULL;
LDAPRDN *old_rdn; LDAPRDN *old_rdn = NULL;
int a_cnt, d_cnt; int a_cnt, d_cnt;
/* Added to support newSuperior */ /* Added to support newSuperior */
Entry *np = NULL; /* newSuperior Entry */ Entry *np = NULL; /* newSuperior Entry */