]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap_r/rq.c
remove ch_malloc/ch_free
[openldap] / libraries / libldap_r / rq.c
index f1fe099361b00c4bb822ab23bb366c2d327e136f..6977405fe4700d6155c534449fc455e2a8718206 100644 (file)
@@ -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 );
 
 }