diff --git a/coreutils/cat.c b/coreutils/cat.c index 028af9f..9eef91a 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c @@ -31,6 +31,7 @@ int main(int argc, char *argv[]) { } fprintf(stderr, "Completed forward to stdout"); + fclose(file); return 0; }