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

Cleaning up code #323

Merged
merged 9 commits into from
Jan 19, 2024
Merged

Cleaning up code #323

merged 9 commits into from
Jan 19, 2024

Conversation

jean-roland
Copy link
Contributor

Working on #318 and #322 I noticed some issues:

  • Examples were not cleaning things when failing resulting in memory leak.
  • Ran a -Wconversion pass as they were some issues in examples and tests.
  • There was code running on unitialized data in a failure path in src/protocol/codec/transport.c.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cppcheck (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@p-avital p-avital merged commit f0ba603 into eclipse-zenoh:main Jan 19, 2024
48 checks passed
@jean-roland jean-roland deleted the ft_cleanup branch February 16, 2024 08:29
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.

2 participants