@@ -476,7 +476,7 @@ void condesc_delete(Dictionary dict)
476
476
ConTable * ct = & dict -> contable ;
477
477
478
478
free (ct -> hdesc );
479
- pool_delete (ct -> mempool );
479
+ pool_delete (ct -> desc_pool );
480
480
condesc_length_limit_def_delete (ct );
481
481
}
482
482
@@ -487,7 +487,7 @@ void condesc_reuse(Dictionary dict)
487
487
ct -> num_con = 0 ;
488
488
ct -> num_uc = 0 ;
489
489
memset (ct -> hdesc , 0 , ct -> size * sizeof (hdesc_t ));
490
- pool_reuse (ct -> mempool );
490
+ pool_reuse (ct -> desc_pool );
491
491
}
492
492
493
493
static hdesc_t * condesc_find (ConTable * ct , const char * constring , uint32_t hash )
@@ -548,7 +548,7 @@ condesc_t *condesc_add(ConTable *ct, const char *constring)
548
548
if (NULL == h -> desc )
549
549
{
550
550
lgdebug (+11 , "Creating connector '%s' (%zu)\n" , constring , ct -> num_con );
551
- h -> desc = pool_alloc (ct -> mempool );
551
+ h -> desc = pool_alloc (ct -> desc_pool );
552
552
h -> string = constring ;
553
553
h -> desc -> uc_num = UINT32_MAX ;
554
554
h -> str_hash = hash ;
@@ -570,7 +570,7 @@ void condesc_init(Dictionary dict, size_t num_con)
570
570
{
571
571
ConTable * ct = & dict -> contable ;
572
572
573
- ct -> mempool = pool_new (__func__ , "ConTable " ,
573
+ ct -> desc_pool = pool_new (__func__ , "condesc_t " ,
574
574
/*num_elements*/ num_con , sizeof (condesc_t ),
575
575
/*zero_out*/ true, /*align*/ true, /*exact*/ false);
576
576
0 commit comments