diff options
author | Tor Andersson <tor@ghostscript.com> | 2009-12-03 21:38:07 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2009-12-03 21:38:07 +0100 |
commit | 08cb95c5503a01df99c43d4d4eba3fdfb086ffa4 (patch) | |
tree | b9ef0d3dd2cbed176f3a7172701d2db30593d389 | |
parent | 63a8b79f1d52cb90d0048c72a2d100582982333b (diff) | |
download | mupdf-08cb95c5503a01df99c43d4d4eba3fdfb086ffa4.tar.xz |
Fix regression in fz_hashtable.
-rw-r--r-- | fitz/base_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_hash.c b/fitz/base_hash.c index cd866041..36533cc1 100644 --- a/fitz/base_hash.c +++ b/fitz/base_hash.c @@ -109,7 +109,7 @@ fz_resizehash(fz_hashtable *table, int newsize) } table->ents = fz_malloc(sizeof(fz_hashentry) * newsize); - memset(table->ents, 0, sizeof(fz_hashentry) * table->size); + memset(table->ents, 0, sizeof(fz_hashentry) * newsize); table->size = newsize; table->load = 0; |