From 938bd7bbf0f617d44ed9659addca3a4879948551 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 27 Jan 2021 20:43:40 +0100 Subject: fix: allocation of object' variable --- include/sha256.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sha256.h') diff --git a/include/sha256.h b/include/sha256.h index 18fba6a..c02eb40 100644 --- a/include/sha256.h +++ b/include/sha256.h @@ -18,6 +18,8 @@ public: SHA256(const std::string&); + ~SHA256(); + // get digest as array of bytes uint8_t* digest(); -- cgit v1.2.3-18-g5258