X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fmhshow.c;fp=uip%2Fmhshow.c;h=e56b6120da46eae46aa88b03fa037736e2857495;hb=1201af682c2a7e34d4d598e62718306b885a187e;hp=9bc7ed325389bd6b047f5ad1bbcc2c85f1ae8ecb;hpb=5a12e4b0477d3ad699f5713682d26079f2792d17;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]);