Fixes some memory leaks associated with testing applied forces
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Fri, 14 Oct 2016 06:41:25 +0000 (08:41 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Fri, 14 Oct 2016 14:49:45 +0000 (16:49 +0200)
commitb6c91a3d32841cd111884f2a09d586f9987a04ca
treeabd39f50f6d88f4769c860e99bcbd27b86bfcd2c
parent748efc45a0abfeab6b38fa50aeb7bbd3b366a8d9
Fixes some memory leaks associated with testing applied forces

Fixes memory leaks associated with the electric
field test. Implemented a done_commrec function.
There may be need for a done_domdec as well but
that falls outside the scope of this patch.

Change-Id: Ib86629bb7959b064b6ac3a57d4bb96e2dd3bfe94
src/gromacs/applied-forces/tests/electricfield.cpp
src/gromacs/gmxlib/network.cpp
src/gromacs/gmxlib/network.h
src/gromacs/mdtypes/inputrec.cpp