From a12bedc2d8643dcc45435943908777c67a9de9d3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 5 Nov 2013 11:49:43 -0800 Subject: [PATCH] ITS#7735 fix memctx usage in prev commit --- servers/slapd/ldapsync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/slapd/ldapsync.c b/servers/slapd/ldapsync.c index 753b5dc850..3cbaf57301 100644 --- a/servers/slapd/ldapsync.c +++ b/servers/slapd/ldapsync.c @@ -380,8 +380,7 @@ slap_reparse_sync_cookie( for (; !BER_BVISNULL( &cookie->ctxcsn[cookie->numcsns] ); cookie->numcsns++); } if ( cookie->numcsns ) { - cookie->sids = slap_parse_csn_sids( cookie->ctxcsn, cookie->numcsns, - memctx ); + cookie->sids = slap_parse_csn_sids( cookie->ctxcsn, cookie->numcsns, NULL ); if ( cookie->numcsns > 1 ) slap_sort_csn_sids( cookie->ctxcsn, cookie->sids, cookie->numcsns, memctx ); } -- 2.39.5