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

fixed memory leak due to use popt incorrectly #7601

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xuraoqing
Copy link

@xuraoqing xuraoqing commented Sep 18, 2024

@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label Sep 18, 2024
@@ -25,6 +25,9 @@
#error "The path to the ssh authorizedkeys helper is not defined"
#endif /* SSH_CLIENT_DIR */

#define GOTO_END(code) {return_code = code;\
goto end;}

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi,

thank you for the fix. I would prefer if you can drop this macro and just have the two lines in all the needed places in the code. In general we try to avoid such error handling macros.

bye,
Sumit

Copy link
Author

@xuraoqing xuraoqing Sep 19, 2024

Choose a reason for hiding this comment

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

ok, thank you for review.i will fix it.

Copy link
Contributor

@sumit-bose sumit-bose left a comment

Choose a reason for hiding this comment

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

Hi,

thank you for the updates, ACK.

bye,
Sumit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted no-backport This should go to target branch only.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants