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

Fix memory safety issue in slistartup.cc #3272

Merged
merged 5 commits into from
Aug 19, 2024
Merged

Conversation

heshpdx
Copy link
Contributor

@heshpdx heshpdx commented Aug 5, 2024

Also fixes the memory leak in parser.h

As referred to in #3217 (comment)

Also fixes the memory leak in parser.h
@gtrensch gtrensch added T: Bug Wrong statements in the code or documentation S: Normal Handle this with default priority I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Aug 9, 2024
error: ISO C++ requires the name after '::~' to be found in the same scope as the name before '::~' [-Werror,-Wdtor-name]
@heplesser heplesser self-requested a review August 15, 2024 05:55
Copy link
Contributor

@heplesser heplesser left a comment

Choose a reason for hiding this comment

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

Hi @heshpdx! Thank you for your pull request. I have added a few suggestions to get in line with NEST coding standards and solve the clang-format failure.

sli/parser.h Outdated Show resolved Hide resolved
sli/slistartup.cc Outdated Show resolved Hide resolved
heshpdx and others added 2 commits August 15, 2024 11:36
Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no>
Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no>
sli/parser.h Outdated Show resolved Hide resolved
Copy link
Contributor

@heplesser heplesser left a comment

Choose a reason for hiding this comment

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

All good now!

@heplesser
Copy link
Contributor

Small fix in SLI parser plus small syntax cleanup, this merging with single review.

@heplesser heplesser merged commit ff2f667 into nest:master Aug 19, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Bug Wrong statements in the code or documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants