From: Howard Chu Date: Mon, 16 Apr 2012 14:36:43 +0000 (-0700) Subject: ITS#7245 fix slap_parse_sync_cookie invocation X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62cdc32f4e76e25dbdb5ddb2a6941bbc61972b7a;p=openldap ITS#7245 fix slap_parse_sync_cookie invocation --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 09de210905..76ba66ebb7 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -667,7 +667,7 @@ do_syncrep1( LDAP_STAILQ_REMOVE( &slap_sync_cookie, sc, sync_cookie, sc_next ); /* ctxcsn wasn't parsed yet, do it now */ - slap_parse_sync_cookie( sc, op->o_tmpmemctx ); + slap_parse_sync_cookie( sc, NULL ); slap_sync_cookie_free( &si->si_syncCookie, 0 ); slap_dup_sync_cookie( &si->si_syncCookie, sc ); slap_sync_cookie_free( sc, 1 );