X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhstore.c;h=1202fcbac43b77f3115bad2399bbf2420feb9d66;hb=e8843fe6800f7cf727240b3a0b5514aab3d11c93;hp=2a0ddf9ea0dc7b165479be2d02010c01c075fea4;hpb=72795bfcbe9f7fee8927b1a4942c0230b0f857a8;p=mmh diff --git a/uip/mhstore.c b/uip/mhstore.c index 2a0ddf9..1202fcb 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -570,7 +570,7 @@ store_partial(CT ct) return NOTOK; } - if ((base = (CT *) calloc((size_t) (i + 1), sizeof(*base))) == NULL) + if ((base = (CT *) mh_xcalloc((size_t) (i + 1), sizeof(*base))) == NULL) adios(EX_OSERR, NULL, "out of memory"); ctq = base;