]> git.sur5r.net Git - openldap/commitdiff
ITS#7245 fix slap_parse_sync_cookie invocation
authorHoward Chu <hyc@openldap.org>
Mon, 16 Apr 2012 14:36:43 +0000 (07:36 -0700)
committerHoward Chu <hyc@openldap.org>
Mon, 16 Apr 2012 14:36:43 +0000 (07:36 -0700)
servers/slapd/syncrepl.c

index 09de210905503392446f70826ed8a43ac07d87a9..76ba66ebb7796515f078a4dea206dcb88de5b251 100644 (file)
@@ -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 );