summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-01-27 20:43:40 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-01-27 23:02:24 +0100
commit938bd7bbf0f617d44ed9659addca3a4879948551 (patch)
tree5b933789f04a7a8e933a710483f5335a3a996ac2 /include
parent79db3b2e02f2482e93060eef2ca1db22092bfe15 (diff)
fix: allocation of object' variable
Diffstat (limited to 'include')
-rw-r--r--include/sha256.h2
1 files changed, 2 insertions, 0 deletions
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();