From: Luke Howard Date: Tue, 24 Aug 2004 01:20:49 +0000 (+0000) Subject: ITS#3297 (double free) X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~667 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4fdefa106f69e7f8a03a1d352a4e88bd73af9148;p=openldap ITS#3297 (double free) --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 5986615852..e2de42ec6e 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1088,7 +1088,7 @@ done: ber_free ( ber, 0 ); if ( rc != LDAP_SUCCESS ) { entry_free( e ); - e = NULL; + *entry = e = NULL; } return rc;