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

library: Initialize lib->leak_detective to NULL if the build is witho… #347

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

Conversation

Thermi
Copy link
Contributor

@Thermi Thermi commented Apr 23, 2021

…ut leak detective.

Fixes at the very least a crash in the test cases when run with valgrind.

@tobiasbrunner
Copy link
Member

Hm, the complete struct is initialized to 0, so I don't really see why this would be necessary.

@Thermi
Copy link
Contributor Author

Thermi commented May 5, 2021 via email

@tobiasbrunner
Copy link
Member

Yeah, would be interesting to see where/how this happens. Because we use this struct initialization (via INIT macro and without) all over the place.

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.

None yet

2 participants