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 several memory management bugs #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

timjb
Copy link

@timjb timjb commented Aug 7, 2018

This solves efficient#2.

timjb added 4 commits August 7, 2018 14:07
The fixed-size array allocation caused a bad::alloc error on my machine,
which is now gone.
Before, the allocations of these arrays were done in assert(...) calls.
This is problematic since when building with -NDEBUG, these assert(...)
calls are removed, which causes l1Entries_ and l2Entries_ to not be
initialized.
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