Skip to content
Snippets Groups Projects
Commit 49f2d76a authored by Massimiliano Bonomi's avatar Massimiliano Bonomi
Browse files

Merge branch 'plumed-file-tool' of git.assembla.com:plumed2 into plumed-file-tool

parents c6fe24b2 aeadca58
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ PlumedFileBase::PlumedFileBase():
PlumedFileBase::~PlumedFileBase()
{
if(!cloned) fclose(fp);
if(!cloned && fp) fclose(fp);
}
PlumedFileBase::operator bool()const{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment