mirror of https://github.com/nodejs/node.git
Free kbuf[] in Verify::VerifyFinal().
parent
ac2404283e
commit
99a5d1e293
|
@ -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…
Reference in New Issue