Fixed g_cluster logic error
authorMark Abraham <Mark.J.Abraham@gmail.com>
Sat, 26 Mar 2011 04:47:08 +0000 (15:47 +1100)
committerMark Abraham <Mark.J.Abraham@gmail.com>
Sat, 26 Mar 2011 04:47:08 +0000 (15:47 +1100)
commit984a7fb44d5a5ac6804d714f7eed5533ced5f188
tree0d44b7d492069bdd7e3bda340b6bb3f134f2442d
parent1425cd1cb342e6695e8534948483c218fe8fbcfa
Fixed g_cluster logic error

g_cluster was attempting to deallocate a gmx_rmpbc_t object when it
might not have been initialized. Since that object is only initialized
under a simple combination of conditions, it makes most sense to clean
up only under those conditions (as well as fix the real reason for the
segfault).
src/tools/gmx_cluster.c