X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ferror.c;h=571e6393340640107bb6773fd7a7f8bd79f1883d;hb=c434e369b6695f8135a2914e9a425edcdd09ef35;hp=3c91f73266ef4848f5a66931322e32ce43e9b2d0;hpb=2e02472cf15ddb64c33a1477cf4cfbf3be2d0c95;p=pspp diff --git a/src/error.c b/src/error.c index 3c91f73266..571e639334 100644 --- a/src/error.c +++ b/src/error.c @@ -204,11 +204,11 @@ err_hcf (int success) free(file_loc); file_loc = NULL; + nfile_loc = mfile_loc = 0; outp_done (); done_glob(); - exit (success ? EXIT_SUCCESS : EXIT_FAILURE); }