Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

Change to newest json lib 3.11.2 #327

Closed SteveMaier-IRT closed 2 years ago

SteveMaier-IRT commented 2 years ago

Cleaned up unmanaged memory deleting copied data

Issue

Fixes #326

Description

Changed to the newest json library to remove a memory leak.

Deleted memory that was copied from the C++ code when converting to JSON.

Testing

Describe the best way to test or validate your PR.