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 pnal_buf_free does nothing on non debug builds #581

Closed
wants to merge 2 commits into from

Conversation

dns13
Copy link

@dns13 dns13 commented May 8, 2024

As asserts only are evaluated on debug builds their calls need to be free of side effects. In this case we leak all pbufs as they were never freed.

dns13 added 2 commits May 8, 2024 09:46
As asserts only are evaluated on debug builds their calls need to be
free of side effects. In this case we leak all pbufs as they were never
freed.
@dns13
Copy link
Author

dns13 commented May 8, 2024

Sorry, already fixed.

@dns13 dns13 closed this May 8, 2024
@dns13 dns13 deleted the fix-assert-sideeffects branch May 8, 2024 07:59
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

Successfully merging this pull request may close these issues.

1 participant