From eb25ece4695036beb826da9cd231b22b0410e2a4 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 8 Jul 2015 14:25:52 +0100 Subject: [PATCH] Revert unintended commit --- servers/slapd/overlays/syncprov.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index efa8009c2b..d2da4c7181 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -805,7 +805,7 @@ syncprov_free_syncop( syncops *so, int unlink ) return 0; } ldap_pvt_thread_mutex_unlock( &so->s_mutex ); - if ( unlink && so->s_si ) { + if ( unlink ) { syncops **sop; ldap_pvt_thread_mutex_lock( &so->s_si->si_ops_mutex ); for ( sop = &so->s_si->si_ops; *sop; sop = &(*sop)->s_next ) { @@ -3230,7 +3230,6 @@ syncprov_db_close( rs.sr_err = LDAP_UNAVAILABLE; send_ldap_result( so->s_op, &rs ); sonext=so->s_next; - so->s_si = NULL; syncprov_drop_psearch( so, 0); } si->si_ops=NULL; -- 2.39.5