From 23b89912e3c1be309e6f61df1f8a5a01c03c8e98 Mon Sep 17 00:00:00 2001 From: Jacques Samain Date: Fri, 22 Jan 2021 10:44:31 +0100 Subject: [HICN-676] Memory leak fix in Verifier Signed-off-by: Jacques Samain Change-Id: If4f45a48734ac8220701899ef179ec5498b0c49d --- libtransport/src/security/verifier.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libtransport') 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() { -- cgit 1.2.3-korg