projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace mh_xmalloc() with mh_xcalloc()
[mmh]
/
sbr
/
seq_list.c
diff --git
a/sbr/seq_list.c
b/sbr/seq_list.c
index
148ecb9
..
241c720
100644
(file)
--- a/
sbr/seq_list.c
+++ b/
sbr/seq_list.c
@@
-27,7
+27,7
@@
seq_list(struct msgs *mp, char *seqname)
/* On first invocation, allocate initial buffer space */
if (!buffer) {
len = MAXBUFFER;
- buffer = mh_xmalloc((size_t) len);
+ buffer = mh_xcalloc((size_t) len, sizeof(char));
}
/*