Skip to content

Single-precision output arrays (q_sf_s family) are never deallocated in post_process #1569

Description

@sbryngelson

Symptom: memory leak on every --single precision post_process run.

Mechanism: q_sf_s, q_root_sf_s, cyl_q_sf_s are allocated under precision == precision_single (src/post_process/m_data_output.fpp:91/93/100 on master) but s_finalize_data_output_module (:1524-1543) deallocates only the working-precision triple.

Introduced: with the arrays themselves in #138 (71a29e00d, 2023-04-03, @wilfonba). Tagging @wilfonba for context.

Fix: not yet fixed; tracked cleanup (documented in #1556's review notes).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions