summaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authorJacques Samain <jsamain@cisco.com>2021-01-22 10:44:31 +0100
committerJacques Samain <jsamain@cisco.com>2021-01-22 10:51:29 +0100
commit23b89912e3c1be309e6f61df1f8a5a01c03c8e98 (patch)
treec7343626f9d9da20aec9e9fcca461038b649ce95 /libtransport
parent2d33dfd939488b81cc4a23f78f949e72391ef236 (diff)
[HICN-676] Memory leak fix in Verifier
Signed-off-by: Jacques Samain <jsamain@cisco.com> Change-Id: If4f45a48734ac8220701899ef179ec5498b0c49d
Diffstat (limited to 'libtransport')
-rw-r--r--libtransport/src/security/verifier.cc1
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() {