diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-07-27 12:35:55 +0200 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-07-27 12:35:55 +0200 |
commit | fb0952dbeb607542b7feab80b1bbd2b1258cd15f (patch) | |
tree | 91a1bfc21ccdcbffeab113dd389583fbacf9f7e1 | |
parent | 9add486d5bbb2ac6a3566e21d729107c26de77a3 (diff) |
Fix bug in hashtable rewrite.
* Initialization mixup.
-rw-r--r-- | p11-kit/hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/hashmap.c b/p11-kit/hashmap.c index 9026827..518a984 100644 --- a/p11-kit/hashmap.c +++ b/p11-kit/hashmap.c @@ -271,7 +271,7 @@ hash_create (hash_hash_func hash_func, return NULL; } - map->num_buckets = 0; + map->num_items = 0; } return map; |