From 52d857cf1527948e1db5eead457e51b6741de8a2 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Fri, 20 May 2011 21:37:13 +0100 Subject: Passwords - a few corrections to the previous commit --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 0b181a36d..184643b9f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1448,6 +1448,7 @@ int main(int argc, char *argv[]) sha1->addBytes(slt.c_str(), slt.length()); unsigned char *digest = sha1->getDigest(); password = base64_encode(digest, 20); + free(digest); } else { -- cgit v1.2.3