Skip to content

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

@sbryngelson

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions