Fix prev commit

This commit is contained in:
Howard Chu 2009-11-20 22:52:47 +00:00
parent 2aadfa5d86
commit d283f02c45

View File

@ -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 );