X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8890670d4c1e8e3f9608c2850c1fe299fb256776..8374c3c75faa115b170018997ffcf64c6cb94300:/uip/scansbr.c diff --git a/uip/scansbr.c b/uip/scansbr.c index 804f72d5..c2ddf369 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -321,7 +321,7 @@ finished: if (datecomp) { if (! datecomp->c_text) { if (datecomp->c_tws == NULL) - datecomp->c_tws = mh_xcalloc(1, sizeof *datecomp->c_tws); + NEW0(datecomp->c_tws); *datecomp->c_tws = *dlocaltime ((time_t *) &st.st_mtime); datecomp->c_flags |= CF_DATEFAB|CF_TRUE; } else {