diff --git a/Geo/GModelIO.cpp b/Geo/GModelIO.cpp index bd643e548ef0956f04f5ea15aa4f2ebe856c6b00..169022686c3b4706b0e8c0ce4e9a1403ff52147d 100644 --- a/Geo/GModelIO.cpp +++ b/Geo/GModelIO.cpp @@ -1,4 +1,4 @@ -// $Id: GModelIO.cpp,v 1.21 2006-08-18 02:22:40 geuzaine Exp $ +// $Id: GModelIO.cpp,v 1.22 2006-08-18 04:27:56 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -545,6 +545,7 @@ int GModel::writeMSH(const std::string &name, double version, bool saveAll, fprintf(fp, "$ENDELM\n"); } + fclose(fp); return 1; }