Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Unitialized pointer. Later segmentation fault after freeing. #377

Merged
merged 1 commit into from
Aug 16, 2020

Conversation

nrnhines
Copy link
Collaborator

Fixes #369.

There are several other issues in this context that I would like to discuss.

@nrnhines nrnhines requested a review from pramodk August 16, 2020 16:31
@pramodk
Copy link
Collaborator

pramodk commented Aug 16, 2020

Ahh, was that uninitialised pointée was being treated as non-null and then was freed?

@nrnhines
Copy link
Collaborator Author

Yes. And fixing this eliminated all valgrind errors. However there are 3 related issues I'd like to discuss some time.

@pramodk pramodk merged commit f38082f into master Aug 16, 2020
@pramodk pramodk deleted the multiple-use-bug branch August 16, 2020 17:46
pramodk pushed a commit to neuronsimulator/nrn that referenced this pull request Nov 2, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple invocations of psolve when using direct memory interface
2 participants