aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alf.c b/src/alf.c
index e47320a..dd9ae00 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -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);
}