apply value_free to PTQL_VALUE_TYPE_ANY
This commit is contained in:
1 parent
4b9e309c8b
commit
647f3d32c3
1 file changed
+2
-1
+2
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user