fix memory leak in CKey::SetCompactSignature()

This commit is contained in:
Daniel Larimer 2013-05-19 12:45:52 -04:00
parent 5b5d399593
commit 173601705c

View File

@ -367,6 +367,7 @@ bool CKey::SetCompactSignature(uint256 hash, const std::vector<unsigned char>& v
ECDSA_SIG_free(sig); ECDSA_SIG_free(sig);
return true; return true;
} }
ECDSA_SIG_free(sig);
return false; return false;
} }