Fix more memory leaks in default group creation
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 30 Oct 2014 18:41:14 +0000 (20:41 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 30 Oct 2014 18:49:08 +0000 (20:49 +0200)
commit621a71c3eaadaf05b1e4915041f3ba9a98ae9d0f
tree4f2dcf79890ad1b637c60536aa13659d310cec61
parent085ea0e36155e93ac333e5d86bdaebdff1c44cb7
Fix more memory leaks in default group creation

Free temporary arrays and strings allocated during the processing.
Don't know why these were not spotted in my earlier valgrind run (all of
these fixes are from working with the interactive selection tester).

Remove one unused array that was allocated and freed, but never used.

Change-Id: Ib78b6366bb5230499a77717f36afed652a1ec7fd
src/gromacs/topology/index.cpp