Merge pull request #700 from giacomofiorin/colvars-fix

Import segfault fix in Colvars module
This commit is contained in:
Steve Plimpton
2017-10-19 11:45:36 -06:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@ -1020,14 +1020,14 @@ colvarmodule::~colvarmodule()
if ((proxy->smp_thread_id() == COLVARS_NOT_IMPLEMENTED) ||
(proxy->smp_thread_id() == 0)) {
reset();
// Delete contents of static arrays
colvarbias::delete_features();
colvar::delete_features();
colvar::cvc::delete_features();
atom_group::delete_features();
reset();
delete parse;
parse = NULL;
proxy = NULL;

View File

@ -1,5 +1,5 @@
#ifndef COLVARS_VERSION
#define COLVARS_VERSION "2017-10-11"
#define COLVARS_VERSION "2017-10-19"
// This file is part of the Collective Variables module (Colvars).
// The original version of Colvars and its updates are located at:
// https://github.com/colvars/colvars