]> git.marmaro.de Git - mmh/blobdiff - uip/mhshow.c
remove longjmp in signalhandler of prompter
[mmh] / uip / mhshow.c
index 9bc7ed325389bd6b047f5ad1bbcc2c85f1ae8ecb..e56b6120da46eae46aa88b03fa037736e2857495 100644 (file)
@@ -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]);