From: Jong Hyuk Choi Date: Wed, 14 May 2003 21:30:25 +0000 (+0000) Subject: remove ch_malloc/ch_free X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~133 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8340afd7368e787d9bcac3e75a6a206c58c0464e;p=openldap remove ch_malloc/ch_free --- diff --git a/libraries/libldap_r/rq.c b/libraries/libldap_r/rq.c index f1fe099361..6977405fe4 100644 --- a/libraries/libldap_r/rq.c +++ b/libraries/libldap_r/rq.c @@ -26,7 +26,7 @@ ldap_pvt_runqueue_insert( { struct re_s* entry; - entry = (struct re_s *) ch_calloc( 1, sizeof( struct re_s )); + entry = (struct re_s *) LDAP_CALLOC( 1, sizeof( struct re_s )); entry->interval.tv_sec = interval; entry->interval.tv_usec = 0; entry->next_sched.tv_sec = time( NULL ); @@ -53,7 +53,7 @@ ldap_pvt_runqueue_remove( LDAP_STAILQ_REMOVE( &rq->task_list, entry, re_s, tnext ); - ch_free( entry ); + LDAP_FREE( entry ); }