X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlist.c;fp=uip%2Fmhlist.c;h=cf55c4cfb3027c7894699e5cbfe8bae51cabf7db;hb=1201af682c2a7e34d4d598e62718306b885a187e;hp=8c7e51d2cc0075af7c63d5fa659b8cc346b104ec;hpb=5a12e4b0477d3ad699f5713682d26079f2792d17;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]);