Replace mh_xmalloc() with mh_xcalloc()
[mmh] / sbr / seq_list.c
index 148ecb9..241c720 100644 (file)
@@ -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));
        }
 
        /*