From: Howard Chu Date: Tue, 5 Nov 2013 19:49:43 +0000 (-0800) Subject: ITS#7735 fix memctx usage in prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a12bedc2d8643dcc45435943908777c67a9de9d3;p=openldap ITS#7735 fix memctx usage in prev commit --- 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 ); }