diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-26 16:57:22 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-26 16:57:22 -0500 |
| commit | db64ce4dbbd6c1cf273ce1e557158301ff4a9228 (patch) | |
| tree | 4bebe23f3766574f69bb5665a8db9fedb1eda356 | |
| parent | 9607bc1d453aa4f642c0f0e86508cf27a0a5eb67 (diff) | |
| download | unalf-db64ce4dbbd6c1cf273ce1e557158301ff4a9228.tar.gz | |
Don't close output file unless it was opened.
| -rw-r--r-- | src/alf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -355,7 +355,7 @@ int main(int argc, char **argv) { crunch_file(argv[optind++]); } - fclose(out_file); + if(out_file) fclose(out_file); exit(0); } |
