]> git.sur5r.net Git - openldap/commitdiff
ITS#7735 fix memctx usage in prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 5 Nov 2013 19:49:43 +0000 (11:49 -0800)
committerHoward Chu <hyc@openldap.org>
Tue, 5 Nov 2013 19:49:43 +0000 (11:49 -0800)
servers/slapd/ldapsync.c

index 753b5dc850b4d85aff046eb83d1f5658a777ba57..3cbaf5730175e57f3522e5c3491c9e6350653d53 100644 (file)
@@ -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 );
        }