Skip to content

Conversation

jodavies
Copy link
Collaborator

@jodavies jodavies commented Oct 3, 2025

Decouple the procedure "loadmode" from whether or not we need to free the allocated memory in DoEndprocedure. Detected nested procedures in DoProcedure and set an additional flag to trigger the free.

This closes #252

Decouple the procedure "loadmode" from whether or not we need to free the
allocated memory in DoEndprocedure. Detected nested procedures in DoProcedure
and set an additional flag to trigger the free.
@coveralls
Copy link

coveralls commented Oct 3, 2025

Coverage Status

coverage: 55.168% (+0.8%) from 54.381%
when pulling 36a28ef on jodavies:issue-252
into 7fa4cef on form-dev:master.

Remove unnecessary early update of AS.NumOldNumFactors, which causes an
out-of-bounds read of oldw when copying to the newly allocated AS.Olduflags.
Add two more easier forcer tests for valgrind, the larger tests take too long
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.

Memory leaks in nested procedures
2 participants