Skip to content

Fix dealloc in aero_model: use aerosol_instances_mod copy#9

Merged
fvitt merged 3 commits into
fvitt:cloud_chemfrom
jimmielin:cloud_chem
May 19, 2026
Merged

Fix dealloc in aero_model: use aerosol_instances_mod copy#9
fvitt merged 3 commits into
fvitt:cloud_chemfrom
jimmielin:cloud_chem

Conversation

@jimmielin
Copy link
Copy Markdown

This uses aerosol_instances_mod to get already created copies of aero_props and aero_state so the callers in aero_model do not need to construct their own - this would also fix a memory leak of aero_state in the bulk/modal gas-aerosol exchange subroutine.

@fvitt fvitt merged commit 5dccb1e into fvitt:cloud_chem May 19, 2026
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.

2 participants