Skip to content

Fix memory safety issue in slistartup.cc#3272

Merged
heplesser merged 5 commits intonest:masterfrom
heshpdx:master
Aug 19, 2024
Merged

Fix memory safety issue in slistartup.cc#3272
heplesser merged 5 commits intonest:masterfrom
heshpdx:master

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.

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>
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
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

Comments