From 01bc2eb4b52e6b1de3c50822d38b86d5656b2cc0 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 22 Apr 2002 13:02:15 +0000 Subject: Forgot to close the jpeg file after writing. git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@64 eff87b29-5268-4891-90a3-a07138403961 --- src/Write.c | 3 +++ 1 file changed, 3 insertions(+) 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 { -- cgit v1.2.3