Revised some code from PR#352 in response to questions from Darryl
Miles. Updated the version number to go along with the merge of a number of pull requests done today.
This commit is contained in:
parent
55d15ffaa5
commit
8371d797ad
|
|
@ -585,9 +585,7 @@ irWzdSetBloomLimit(s,file)
|
||||||
char *s;
|
char *s;
|
||||||
FILE *file;
|
FILE *file;
|
||||||
{
|
{
|
||||||
dlong tmp;
|
SetNoisyInt(&(irMazeParms->mp_bloomLimit),s,file);
|
||||||
SetNoisyDI(&tmp,s,file);
|
|
||||||
irMazeParms->mp_bloomLimit = tmp; /* FIXME should this be truncated ? */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* irWzdSetBoundsIncrement -- */
|
/* irWzdSetBoundsIncrement -- */
|
||||||
|
|
|
||||||
|
|
@ -692,11 +692,14 @@ HashKill(table)
|
||||||
for (hp = table->ht_table, hend = &hp[table->ht_size]; hp < hend; hp++)
|
for (hp = table->ht_table, hend = &hp[table->ht_size]; hp < hend; hp++)
|
||||||
for (h = *hp; h != NIL; h = h->h_next)
|
for (h = *hp; h != NIL; h = h->h_next)
|
||||||
{
|
{
|
||||||
const void *p = h->h_key.h_ptr;
|
const void *p;
|
||||||
freeMagic((char *) h);
|
freeMagic((char *) h);
|
||||||
if (killFn)
|
if (killFn)
|
||||||
|
{
|
||||||
|
p = h->h_key.h_ptr;
|
||||||
(*killFn)((void *)p);
|
(*killFn)((void *)p);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
freeMagic((char *) table->ht_table);
|
freeMagic((char *) table->ht_table);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue