We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Description zoo_get_children will allocate memory in struct String_vector, we need to use deallocate_String_vector to free memory by ourself.
zoo_get_children
struct String_vector
deallocate_String_vector
OpenMLDB/src/zk/zk_client.cc
Line 498 in 4403222
Line 523 in 4403222
There are two place to call zoo_get_children, I think we can add deallocate_String_vector(&data) at line 505 and line 530 to fix this bug.
deallocate_String_vector(&data)
Expected Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered:
aceforeverd
Successfully merging a pull request may close this issue.
Bug Description
zoo_get_children
will allocate memory instruct String_vector
, we need to usedeallocate_String_vector
to free memory by ourself.OpenMLDB/src/zk/zk_client.cc
Line 498 in 4403222
OpenMLDB/src/zk/zk_client.cc
Line 523 in 4403222
There are two place to call
zoo_get_children
, I think we can adddeallocate_String_vector(&data)
at line 505 and line 530 to fix this bug.Expected Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: