properly initialize branch

This commit is contained in:
Doug MacEachern 2007-08-11 02:49:00 +00:00
parent a5369460aa
commit 092f111b41
1 changed files with 1 additions and 2 deletions

View File

@ -1070,8 +1070,7 @@ static int ptql_branch_add(ptql_parse_branch_t *parsed,
PTQL_BRANCH_LIST_GROW(branches); PTQL_BRANCH_LIST_GROW(branches);
branch = &branches->data[branches->number++]; branch = &branches->data[branches->number++];
branch->data.ptr = NULL; SIGAR_ZERO(branch);
branch->data_size = 0;
branch->data_free = data_free; branch->data_free = data_free;
branch->value_free = data_free; branch->value_free = data_free;
branch->op_flags = parsed->op_flags; branch->op_flags = parsed->op_flags;