Skip to content

Fix memory leak issue.#428

Open
limengning wants to merge 1 commit intoecmwf:masterfrom
limengning:master
Open

Fix memory leak issue.#428
limengning wants to merge 1 commit intoecmwf:masterfrom
limengning:master

Conversation

@limengning
Copy link
Copy Markdown

@limengning limengning commented Aug 15, 2025

Description

Call eccodes.codes_grib_new_from_file in loop but only use the last codes_id, other codes_ids are not released and missing.
Need to merge ecmwf/eccodes#352 as well to fix the bug.

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

@limengning
Copy link
Copy Markdown
Author

limengning commented Aug 17, 2025

Fix issue #283 #325 and #429

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant