Resolves #1509 fortify findings with feature addition to point2grid #1526
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Testing
Describe testing already performed for these changes:
Recommend testing for the reviewer to perform, including the location of input datasets:
Will this PR result in changes to the test suite? No
If yes, describe the new output and/or changes to the existing output:
After merging, should the reviewer DELETE the feature branch from GitHub? Yes
Pull Request Checklist
See the METplus Workflow for details.
Complete the PR definition above.
Ensure the PR title matches the feature or bugfix branch name.
Define the PR metadata, as permissions allow.
Select: Reviewer(s), Project(s), and Milestone
After submitting the PR, select Linked Issues with the original issue number.
nccf_file.cc: removed the same if statements
met/src/libcode/vx_nc_util/nc_utils.cc
met/src/libcode/vx_nc_util/nc_utils.h: corrected arg names (not related with Fortify)
met/src/tools/other/pb2nc/pb2nc.cc: Fortify detected a memory leak, but it was not true. The releasing memory was implemented differently, (not sure Fortify will recognize this)
met/src/tools/core/point_stat/point_stat.cc : removed an unused local variable
met/src/tools/other/pb2nc/pb2nc.cc: corrected memory leak of from_data by moving inner block