From: Pierangelo Masarati Date: Thu, 14 Feb 2002 18:15:56 +0000 (+0000) Subject: don't free dangling pointers :( X-Git-Tag: OPENLDAP_REL_ENG_2_1_BP~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=55993dc66a7dc756ddab795017bbb9ee51b1f816;p=openldap don't free dangling pointers :( --- diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index 709f3b6acf..36f8e03536 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -63,8 +63,8 @@ ldbm_back_modrdn( char textbuf[SLAP_TEXT_BUFLEN]; size_t textlen = sizeof textbuf; /* Added to support LDAP v2 correctly (deleteoldrdn thing) */ - LDAPRDN *new_rdn; - LDAPRDN *old_rdn; + LDAPRDN *new_rdn = NULL; + LDAPRDN *old_rdn = NULL; int a_cnt, d_cnt; /* Added to support newSuperior */ Entry *np = NULL; /* newSuperior Entry */