Fixed Bug #593 about memory hole in trjcat.
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Sun, 21 Oct 2012 10:06:32 +0000 (12:06 +0200)
committerDavid van der Spoel <spoel@xray.bmc.uu.se>
Sun, 21 Oct 2012 10:06:32 +0000 (12:06 +0200)
commitc96a340cc890e93d1cec0adca2e2979db6fb8c1a
tree2a738d8f5e6042eca029d9d416c76a50a71152f1
parentfddbc9b73f0697ce9c5ea679de714f299265d7ac
Fixed Bug #593 about memory hole in trjcat.

Fixed by explicitly freeing memory for each frame. Tested to make
sure it does not crash.

Change-Id: Ic0e91b828a1e5a23f38690b4753092a31e6c4db4
src/tools/gmx_trjcat.c