Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak in CWOPS CWT file history reader #147

Closed
w7sst opened this issue Nov 30, 2022 · 0 comments · Fixed by #148
Closed

Fix memory leak in CWOPS CWT file history reader #147

w7sst opened this issue Nov 30, 2022 · 0 comments · Fixed by #148
Assignees
Labels
bug Something isn't working

Comments

@w7sst
Copy link
Owner

w7sst commented Nov 30, 2022

Description

When the CWT history file is processed, a new TCWOPSRec object is allocated within a while loop. However, some records are ignored and a continue occurs. The object is reallocated.

Steps To Reproduce

Can be seen via code review or in the debugger.

Expected behavior

No memory leak.

Actual Behavior

We drop objects.

Reproduces how often

100%

Version information

  • Morse Runner version: latest
  • OS/Version: Windows 11
@w7sst w7sst added the bug Something isn't working label Nov 30, 2022
@w7sst w7sst self-assigned this Nov 30, 2022
@w7sst w7sst linked a pull request Nov 30, 2022 that will close this issue
w7sst added a commit that referenced this issue Dec 1, 2022
- updated to March 2022 edition
- https://www.arrl.org/files/file/DXCC/2022_DXCC_Current.pdf
- Z6 was missing
- many entries had incorrect regular expression values
- fixes #147
@w7sst w7sst closed this as completed in #148 Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant