diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 4d39d4f798..0e3c34a431 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1314,6 +1314,7 @@ do_syncrep2( slap_sl_free( syncUUIDs, op->o_tmpmemctx ); } } + rc = 0; slap_sync_cookie_free( &syncCookie, 0 ); break; default: