mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
don't free dangling pointers :(
This commit is contained in:
parent
c31596eb78
commit
55993dc66a
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user