apply value_free to PTQL_VALUE_TYPE_ANY

This commit is contained in:
Doug MacEachern 2010-04-21 13:54:03 -07:00
parent 4b9e309c8b
commit 647f3d32c3
1 changed files with 2 additions and 1 deletions

View File

@ -546,7 +546,8 @@ static int ptql_branch_list_destroy(ptql_branch_list_t *branches)
}
if (branch->lookup &&
(branch->lookup->type == PTQL_VALUE_TYPE_STR) &&
((branch->lookup->type == PTQL_VALUE_TYPE_STR) ||
(branch->lookup->type == PTQL_VALUE_TYPE_ANY)) &&
!(branch->op_flags & PTQL_OP_FLAG_REF))
{
if (branch->value.str) {