Merge pull request #700 from giacomofiorin/colvars-fix
Import segfault fix in Colvars module
This commit is contained in:
Binary file not shown.
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user