From 806cf827167ab08da2f93f8aceff3275d6d80dc1 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Sun, 19 May 2013 12:45:52 -0400 Subject: [PATCH] fix memory leak in CKey::SetCompactSignature() --- src/key.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/key.cpp b/src/key.cpp index 20114e6bb..74b2797d8 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -367,6 +367,7 @@ bool CKey::SetCompactSignature(uint256 hash, const std::vector& v ECDSA_SIG_free(sig); return true; } + ECDSA_SIG_free(sig); return false; }