]> git.sur5r.net Git - openldap/commitdiff
ITS#3297 (double free)
authorLuke Howard <lukeh@openldap.org>
Tue, 24 Aug 2004 01:20:49 +0000 (01:20 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 24 Aug 2004 01:20:49 +0000 (01:20 +0000)
servers/slapd/syncrepl.c

index 5986615852a1e09a9d3c0a04e229ebc1f678f220..e2de42ec6e894c5cc8435b29ab2622b0fc0d0349 100644 (file)
@@ -1088,7 +1088,7 @@ done:
        ber_free ( ber, 0 );
        if ( rc != LDAP_SUCCESS ) {
                entry_free( e );
-               e = NULL;
+               *entry = e = NULL;
        }
 
        return rc;