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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve exception handling #198

Open
elfring opened this issue Jan 8, 2023 · 0 comments
Open

Improve exception handling #198

elfring opened this issue Jan 8, 2023 · 0 comments

Comments

@elfring
Copy link

elfring commented Jan 8, 2023

馃挱 I find the implementation for a function like json_object_init() improvable.

  • Further memory areas should only be allocated if previous allocations succeeded.
  • Would you like to use a goto chain accordingly for better exception handling?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant