clear out the string hash resources completely

This commit is contained in:
Bill Currie 2002-04-09 16:21:27 +00:00
parent 8588d2d1cd
commit 47a94ed6af
1 changed files with 3 additions and 0 deletions

View File

@ -414,6 +414,9 @@ bi_strh_clear (progs_t *pr, void *data)
res->hashes[i] = 0;
}
}
free (res->hashes);
res->hashes = 0;
res->cnt_hashes = 0;
}