diff options
author | Daniel Larimer <dlarimer@gmail.com> | 2013-05-19 12:45:52 -0400 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-05 09:15:41 +0100 |
commit | 27e35bf84079ebb37ea6b756ad01ea9ed2bdad5f (patch) | |
tree | 7f2d3bbbcdb9564f9b545cb30cfcd65102ed2c5b | |
parent | 6f21e7317e86cac4f26234116513fa153111032a (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 af9ffaf792..75114c6afe 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -370,6 +370,7 @@ bool CKey::SetCompactSignature(uint256 hash, const std::vector<unsigned char>& v ECDSA_SIG_free(sig); return true; } + ECDSA_SIG_free(sig); return false; } |