Skip to content

ODIN_II: Fix coverity issue CID 200770: Resource leak #811

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

Merged

Conversation

j-b-1-7
Copy link
Contributor

@j-b-1-7 j-b-1-7 commented Jul 20, 2019

Description

Should resolve coverity issue CID 200770. Resource leak. Need to free stack_of_nodes and it's contents. This was also labeled in the code as a TODO. Ran regression suite with no failures.

How Has This Been Tested?

Odin pre-commit

Types of changes

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@probot-autolabeler probot-autolabeler bot added lang-cpp C/C++ code Odin Odin II Logic Synthesis Tool: Unsorted item labels Jul 20, 2019
@j-b-1-7 j-b-1-7 changed the title ODIN_II: Fix coverity issue CID 200770: Resource leak [WIP]ODIN_II: Fix coverity issue CID 200770: Resource leak Jul 20, 2019
@j-b-1-7 j-b-1-7 force-pushed the odin_coverity_issue_200770 branch from ec18196 to 272de9c Compare July 20, 2019 15:56
@jeanlego jeanlego changed the title [WIP]ODIN_II: Fix coverity issue CID 200770: Resource leak ODIN_II: Fix coverity issue CID 200770: Resource leak Jul 27, 2019
@jeanlego
Copy link
Contributor

regression test passed

@jeanlego jeanlego merged commit 7643179 into verilog-to-routing:master Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code Odin Odin II Logic Synthesis Tool: Unsorted item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants