X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlist.c;h=cf55c4cfb3027c7894699e5cbfe8bae51cabf7db;hb=bb2dc190d836a871640e68feee28b290e554390d;hp=8c7e51d2cc0075af7c63d5fa659b8cc346b104ec;hpb=fede6e42d81ce34fd5c1bbe7fb2757b281c2573a;p=mmh diff --git a/uip/mhlist.c b/uip/mhlist.c index 8c7e51d..cf55c4c 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -92,7 +92,9 @@ main(int argc, char **argv) struct msgs *mp = NULL; CT ct, *ctp; - atexit(freects_done); + if (atexit(freects_done) != 0) { + adios(NULL, "atexit failed"); + } setlocale(LC_ALL, ""); invo_name = mhbasename(argv[0]);