fix memory leak in CKey::SetCompactSignature()
This commit is contained in:
parent
5b5d399593
commit
173601705c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue