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;
|
||||
FILE *file;
|
||||
{
|
||||
dlong tmp;
|
||||
SetNoisyDI(&tmp,s,file);
|
||||
irMazeParms->mp_bloomLimit = tmp; /* FIXME should this be truncated ? */
|
||||
SetNoisyInt(&(irMazeParms->mp_bloomLimit),s,file);
|
||||
}
|
||||
|
||||
/* irWzdSetBoundsIncrement -- */
|
||||
|
|
|
|||
|
|
@ -692,10 +692,13 @@ HashKill(table)
|
|||
for (hp = table->ht_table, hend = &hp[table->ht_size]; hp < hend; hp++)
|
||||
for (h = *hp; h != NIL; h = h->h_next)
|
||||
{
|
||||
const void *p = h->h_key.h_ptr;
|
||||
const void *p;
|
||||
freeMagic((char *) h);
|
||||
if (killFn)
|
||||
{
|
||||
p = h->h_key.h_ptr;
|
||||
(*killFn)((void *)p);
|
||||
}
|
||||
}
|
||||
freeMagic((char *) table->ht_table);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue