X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhstore.c;h=2a0ddf9ea0dc7b165479be2d02010c01c075fea4;hp=4234d25f570661ad19d817f906c5750f74cfaa8c;hb=72795bfcbe9f7fee8927b1a4942c0230b0f857a8;hpb=5086954856e7b078981418d4aac233d37deb72bd diff --git a/uip/mhstore.c b/uip/mhstore.c index 4234d25..2a0ddf9 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -261,7 +261,7 @@ main(int argc, char **argv) ** check if message is coming from file */ if (file) { - if (!(cts = (CT *) calloc((size_t) 2, sizeof(*cts)))) + if (!(cts = (CT *) mh_xcalloc((size_t) 2, sizeof(*cts)))) adios(EX_OSERR, NULL, "out of memory"); ctp = cts; @@ -294,7 +294,7 @@ main(int argc, char **argv) exit(EX_USAGE); seq_setprev(mp); /* set the previous-sequence */ - if (!(cts = (CT *) calloc((size_t) (mp->numsel + 1), + if (!(cts = (CT *) mh_xcalloc((size_t) (mp->numsel + 1), sizeof(*cts)))) adios(EX_OSERR, NULL, "out of memory"); ctp = cts;