fix memory leak in CKey::SetCompactSignature()
This commit is contained in:
1 parent
5b5d399593
commit
173601705c
1 file changed
+1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user