]> git.marmaro.de Git - mmh/blobdiff - sbr/seq_list.c
Replace mh_xmalloc() with mh_xcalloc()
[mmh] / sbr / seq_list.c
index 148ecb90f4263aa663f84be387dcf4e2d82a9f82..241c72067f46288681fe6faa8fb269817a25ef04 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));
        }
 
        /*