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

[401] Change JSON based command return paths #402

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

fluca1978
Copy link
Collaborator

Fixes the return path of the management functions that use cJSON objects to ensure that all the objects are freed appropriately. Also changes the return value to reflect the command exit status as provided by the JSON object.

Close #401

Fixes the return path of the management functions that use cJSON
objects to ensure that all the objects are freed appropriately.
Also changes the return value to reflect the command exit status as
provided by the JSON object.

Close agroal#401
@jesperpedersen jesperpedersen added the bug Something isn't working label Feb 16, 2024
@jesperpedersen jesperpedersen merged commit 610e7b8 into agroal:master Feb 16, 2024
2 checks passed
@jesperpedersen
Copy link
Collaborator

Merged.

Thanks for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check JSON object destruction in pgagroal-cli management commands
2 participants