aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@eff87b29-5268-4891-90a3-a07138403961>2002-04-22 13:02:15 +0000
committertradke <tradke@eff87b29-5268-4891-90a3-a07138403961>2002-04-22 13:02:15 +0000
commit01bc2eb4b52e6b1de3c50822d38b86d5656b2cc0 (patch)
tree3ed3f8807d6ed42e7cce1af9799809d6817ca992
parent23443ad6636304a04fe8e204a6a12e2e0704afba (diff)
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
-rw-r--r--src/Write.c3
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
{