Skip to content
New issue

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

c/core/test: Fix memory leak in publish node birth #270

Conversation

ian-abbott
Copy link
Contributor

Fixes #269.

In `publish_node_birth()`, pointer variable `row_data` points to
allocated memory that is never freed.  The memory is no longer required
after the call `init_dataset(&dataset, 2, 3, datatypes, column_keys,
row_data);` so free the memory after that call.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
@ian-abbott ian-abbott changed the base branch from master to develop February 20, 2023 16:11
@ian-abbott ian-abbott changed the title C core test fix memleak in publish node birth c/core/test fix memleak in publish node birth Feb 20, 2023
@ian-abbott ian-abbott changed the title c/core/test fix memleak in publish node birth c/core/test: Fix memory leak in publish node birth Feb 20, 2023
@wes-johnson wes-johnson merged commit baee2a0 into eclipse:develop Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

c/core/test memory leak in publish_node_birth()
2 participants