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

general/cppcheck: Address cppcheck memory related errors #9892

Closed
wants to merge 2 commits into from

Commits on Nov 25, 2023

  1. cppcheck/detect: Address cppcheck memory leak

    Issue: 6527
    
    Ensure that the `map->string` memory isn't leaked following an error
    return from `HashListTableAdd`
    jlucovsky committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    e6b7f77 View commit details
    Browse the repository at this point in the history
  2. cppcheck: Address cpcheck report of an FP

    Issue: 6527
    
    Address the FP raised by cppcheck -- note that although the code
    corectly checks to ensure that `to_shift != &sb->reqion`, the logic was
    detected as a FP. Rework the code to eliminate the FP.
    jlucovsky committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    bd5d498 View commit details
    Browse the repository at this point in the history