From 0b6c1eb06726ce8573a8d2751d036c08ffc59c27 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 15 Mar 2012 15:47:36 +0000 Subject: [PATCH] missing fclose --- Post/PViewDataIO.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Post/PViewDataIO.cpp b/Post/PViewDataIO.cpp index b238e0e921..ee753234e5 100644 --- a/Post/PViewDataIO.cpp +++ b/Post/PViewDataIO.cpp @@ -170,6 +170,7 @@ bool PViewData::writePOS(std::string fileName, bool binary, bool parsed, bool ap } fprintf(fp, "};\n"); + fclose(fp); return true; } -- GitLab