X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshow.c;h=e56b6120da46eae46aa88b03fa037736e2857495;hb=62b0c6727235a0bc560179dbf6b13d252716c02c;hp=9bc7ed325389bd6b047f5ad1bbcc2c85f1ae8ecb;hpb=fede6e42d81ce34fd5c1bbe7fb2757b281c2573a;p=mmh diff --git a/uip/mhshow.c b/uip/mhshow.c index 9bc7ed3..e56b612 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -98,7 +98,9 @@ main(int argc, char **argv) FILE *fp; int ontty = 0; - atexit(freects_done); + if (atexit(freects_done) != 0) { + adios(NULL, "atexit failed"); + } setlocale(LC_ALL, ""); invo_name = mhbasename(argv[0]);