Browse Source

Free kbuf[] in Verify::VerifyFinal().

v0.7.4-release
Peter Griess 15 years ago
committed by Ryan Dahl
parent
commit
99a5d1e293
  1. 1
      src/node_crypto.cc

1
src/node_crypto.cc

@ -2178,6 +2178,7 @@ class Verify : public ObjectWrap {
ssize_t hlen = DecodeBytes(args[1], BINARY);
if (hlen < 0) {
delete [] kbuf;
Local<Value> exception = Exception::TypeError(String::New("Bad argument"));
return ThrowException(exception);
}

Loading…
Cancel
Save