mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
remove ch_malloc/ch_free
This commit is contained in:
parent
d0f025bd46
commit
8340afd736
1 changed files with 2 additions and 2 deletions
|
|
@ -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 );
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue