Browse Source

fix memory leak in CKey::SetCompactSignature()

0.10
Daniel Larimer 12 years ago
parent
commit
173601705c
  1. 1
      src/key.cpp

1
src/key.cpp

@ -367,6 +367,7 @@ bool CKey::SetCompactSignature(uint256 hash, const std::vector<unsigned char>& v @@ -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…
Cancel
Save