Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

🐞 Check classes for leaks

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
26
Forks
25
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

The .NET implementation of the manifest, context, encryption device, could be leaking memory like the ballots did. This was due to the Handle to the C++ structures were getting closed before they were calling the code for Freeing the memory.

The rest of the classes should be looked at to make sure if they are leaking or not.

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Environment

```markdown
- OS:
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.