Fixed memory handling issues in selections.
commitba2811dae79d0a7210285d54a7f10b20ed662517
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Mon, 5 Oct 2009 17:43:29 +0000 (5 19:43 +0200)
committerTeemu Murtola <teemu.murtola@cbr.su.se>
Mon, 5 Oct 2009 17:43:29 +0000 (5 19:43 +0200)
tree21da07ce60f4578c22499a8b14baeaa70e4193fc
parent29fef9eca658751c873277e88b39b331e5f4ab19
Fixed memory handling issues in selections.

Comparison expressions now work again (a recent change caused them to
try to free constant strings), and the selection compiler now handles
static selections better (previously, the cgrp field contained random
values, but was only used for debugging output, so evaluation worked
correctly).
src/gmxlib/selection/compiler.c
src/gmxlib/selection/parsetree.c