diff options
author | Daniel Larimer <dlarimer@gmail.com> | 2013-05-19 12:45:52 -0400 |
---|---|---|
committer | Daniel Larimer <dlarimer@gmail.com> | 2013-05-19 15:08:33 -0400 |
commit | 173601705ccf189fd83e3854f71f6a872c6faeda (patch) | |
tree | 1ba6f7b5b625a2f600513d2c0ccfef91f06caa99 | |
parent | 5b5d399593adbdf8b9b4fb49ef39d51d4eac03cd (diff) |
fix memory leak in CKey::SetCompactSignature()
-rw-r--r-- | src/key.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/key.cpp b/src/key.cpp index 20114e6bb2..74b2797d83 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -367,6 +367,7 @@ bool CKey::SetCompactSignature(uint256 hash, const std::vector<unsigned char>& v ECDSA_SIG_free(sig); return true; } + ECDSA_SIG_free(sig); return false; } |