From a3f78cf901e71ced6eff3d49f6759d6d65798c12 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 22 Nov 2016 11:11:28 -0500 Subject: Fix memory leak in HKDF --- src/lib/kdf/hkdf/hkdf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/kdf/hkdf') diff --git a/src/lib/kdf/hkdf/hkdf.h b/src/lib/kdf/hkdf/hkdf.h index 5ab253420..5ad389aeb 100644 --- a/src/lib/kdf/hkdf/hkdf.h +++ b/src/lib/kdf/hkdf/hkdf.h @@ -36,7 +36,7 @@ class BOTAN_DLL HKDF final : public KDF const byte label[], size_t label_len) const override; private: - MessageAuthenticationCode* m_prf; + std::unique_ptr m_prf; }; /** -- cgit v1.2.3