Added a few functions for freeing memory.
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Wed, 28 Apr 2010 10:35:43 +0000 (12:35 +0200)
committerTeemu Murtola <teemu.murtola@cbr.su.se>
Wed, 28 Apr 2010 10:35:43 +0000 (12:35 +0200)
commitc8a89deb67cdf3571c489947921caacc59b94366
tree1685ebd60a1bde838451530bde95bf7c7fc1c8d4
parentc52f5131f97c1c38b7b5e3b14bf8d6ced13c3c12
Added a few functions for freeing memory.

There are now functions for freeing memory allocated for output_env and
for t_filenm (by parse_file_args(), dup_tfn() allocates some additional
memory). With these, the selection tester can run in valgrind without
memory leaks in certain cases if one does not count memory referenced by
global/static variables.
include/filenm.h
include/oenv.h
src/gmxlib/filenm.c
src/gmxlib/oenv.c
src/gmxlib/selection/test_selection.c
src/gmxlib/trajana/trajana.c