diff options
author | Jacques Samain <jsamain@cisco.com> | 2021-01-22 10:44:31 +0100 |
---|---|---|
committer | Jacques Samain <jsamain@cisco.com> | 2021-01-22 10:51:29 +0100 |
commit | 23b89912e3c1be309e6f61df1f8a5a01c03c8e98 (patch) | |
tree | c7343626f9d9da20aec9e9fcca461038b649ce95 /libtransport/src/security/verifier.cc | |
parent | 2d33dfd939488b81cc4a23f78f949e72391ef236 (diff) |
[HICN-676] Memory leak fix in Verifier
Signed-off-by: Jacques Samain <jsamain@cisco.com>
Change-Id: If4f45a48734ac8220701899ef179ec5498b0c49d
Diffstat (limited to 'libtransport/src/security/verifier.cc')
-rw-r--r-- | libtransport/src/security/verifier.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtransport/src/security/verifier.cc b/libtransport/src/security/verifier.cc index 39b815d40..4f6a2be4c 100644 --- a/libtransport/src/security/verifier.cc +++ b/libtransport/src/security/verifier.cc @@ -41,6 +41,7 @@ Verifier::Verifier() { PARCInMemoryVerifier *in_memory_verifier = parcInMemoryVerifier_Create(); this->verifier_ = parcVerifier_Create(in_memory_verifier, PARCInMemoryVerifierAsVerifier); + parcInMemoryVerifier_Release(&in_memory_verifier); } Verifier::~Verifier() { |