diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-17 22:33:46 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-18 23:08:04 -0400 |
commit | 4efce32c6efcb98e3d4eda4886a75872aff6fff9 (patch) | |
tree | 10f6d372652255e6de5efcff8a81d2632917e7df | |
parent | 76e8bacbb35eb1ee386fbe49489302c9146fa700 (diff) | |
download | stasis-4efce32c6efcb98e3d4eda4886a75872aff6fff9.tar.gz |
Bugfix: log_show_contents() did not close FILE pointer
-rw-r--r-- | src/multiprocessing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multiprocessing.c b/src/multiprocessing.c index 8e11a93..fce1a80 100644 --- a/src/multiprocessing.c +++ b/src/multiprocessing.c @@ -206,6 +206,7 @@ static int show_log_contents(FILE *stream, struct MultiProcessingTask *task) { memset(buf, 0, sizeof(buf)); } fprintf(stream, "\n"); + fclose(fp); return 0; } |