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

🐞 Check classes for leaks

Aperta
#329 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
C++
Stelle
26
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.