X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhtest.c;h=aa7e411e195c9e313d580ca48219c1a375b7ec70;hb=3113d18bf20013be27c9aabc8aafcab9a6a8643e;hp=a1718db77e082691d8857d63c457cd0ecc155a23;hpb=fede6e42d81ce34fd5c1bbe7fb2757b281c2573a;p=mmh diff --git a/uip/mhtest.c b/uip/mhtest.c index a1718db..aa7e411 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -95,7 +95,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]);