From: Howard Chu Date: Fri, 20 Nov 2009 22:52:47 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: ACLCHECK_0~92 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d283f02c4564e1711157644e2cb09712b805baa1;p=openldap Fix prev commit --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 9da5506e44..0a2d212e3c 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -897,7 +897,7 @@ do_syncrep2( if ( i == si->si_cookieState->cs_pnum ) { value_add( &si->si_cookieState->cs_pvals, syncCookie.ctxcsn ); si->si_cookieState->cs_pnum++; - ch_realloc( si->si_cookieState->cs_psids, si->si_cookieState->cs_num * sizeof(int)); + si->si_cookieState->cs_psids = ch_realloc( si->si_cookieState->cs_psids, si->si_cookieState->cs_num * sizeof(int)); si->si_cookieState->cs_psids[i] = sid; } ldap_pvt_thread_mutex_unlock( &si->si_cookieState->cs_pmutex );