Skip to content

fix: prevent memory leaks in fixed delay initialization#160

Merged
chrispcampbell merged 2 commits into
developfrom
todd/159-fixed-delay
Nov 19, 2021
Merged

fix: prevent memory leaks in fixed delay initialization#160
chrispcampbell merged 2 commits into
developfrom
todd/159-fixed-delay

Conversation

@ToddFincannon
Copy link
Copy Markdown
Collaborator

@ToddFincannon ToddFincannon commented Nov 4, 2021

Fixes #159

I made one other change in vensim.c to make it possible to compile with gcc, which does not support UTF-8 source files like clang does. I had used clever μ and σ variable names in probability-related code. I replaced these with mu and sigma and SDEverywhere C code compiled with gcc just fine.

@ToddFincannon ToddFincannon changed the title Todd/159 fixed delay fix: prevent memory leaks in fixed delay initialization Nov 4, 2021
Copy link
Copy Markdown
Contributor

@chrispcampbell chrispcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ToddFincannon Looks good. Apologies for the delay in getting to this and other PRs.

@chrispcampbell chrispcampbell merged commit e158b2f into develop Nov 19, 2021
@chrispcampbell chrispcampbell deleted the todd/159-fixed-delay branch November 19, 2021 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory leak detected in generated C code

2 participants