projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix regressions
[apps/madmutt.git]
/
hash.c
diff --git
a/hash.c
b/hash.c
index
3cd6140
..
ac9dc1c
100644
(file)
--- a/
hash.c
+++ b/
hash.c
@@
-48,7
+48,7
@@
HASH *hash_create (int nelem)
nelem = 2;
table->nelem = nelem;
table->curnelem = 0;
- table->table =
mem_calloc (nelem, sizeof (struct hash_elem *)
);
+ table->table =
p_new(struct hash_elem *, nelem
);
return table;
}