diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Write.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Write.c b/src/Write.c index 0d0215d..606a6c2 100644 --- a/src/Write.c +++ b/src/Write.c @@ -299,6 +299,9 @@ static void WriteData (const cGH *GH, int vindex, const char *alias, int dim, free (fullname); } + + /* close the file */ + fclose (file); } else { |