Skip to content

Fixes potential memory issues in some destructors - #85

Merged
andrewwinters5000 merged 3 commits into
mainfrom
fix-memory-leaks
Nov 3, 2026
Merged

andrewwinters5000 merged 3 commits into
mainfrom
fix-memory-leaks

Conversation

@andrewwinters5000

Copy link
Copy Markdown
Member

In remove and recursive routine this now uses NULLIFY instead of declaring something with => NULL() for safety. Also, the FTDictionary destructor destroys each of the entries individually.

@codecov

codecov Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.20690% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.69%. Comparing base (ac59eed) to head (769d70d).

Files with missing lines Patch % Lines
Source/FTObjects/FTMultiIndexTable.f90 60.00% 2 Missing ⚠️
Source/FTObjects/FTDataClass.f90 66.66% 1 Missing ⚠️
Source/FTObjects/FTDictionaryClass.f90 87.50% 1 Missing ⚠️
Source/FTObjects/FTLinkedListClass.f90 93.33% 1 Missing ⚠️
Source/FTObjects/FTObjectArrayClass.f90 75.00% 1 Missing ⚠️
Source/FTObjects/FTSparseMatrixClass.f90 83.33% 1 Missing ⚠️
Source/FTObjects/FTStackClass.f90 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
+ Coverage   93.67%   93.69%   +0.01%     
==========================================
  Files          31       31              
  Lines        2957     2966       +9     
==========================================
+ Hits         2770     2779       +9     
  Misses        187      187              
Flag Coverage Δ
unittests 93.69% <86.20%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrewwinters5000 andrewwinters5000 changed the title Fixes potential memory issues in some destructor Fixes potential memory issues in some destructors Nov 3, 2026
@andrewwinters5000
andrewwinters5000 merged commit 4825d6b into main Nov 3, 2026
14 of 15 checks passed
@andrewwinters5000
andrewwinters5000 deleted the fix-memory-leaks branch November 3, 2026 21:22
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.

1 participant