crypto: fix memory leak in randomBytes() error path
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 16 Aug 2013 14:49:00 +0000 (16:49 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 16 Aug 2013 14:50:01 +0000 (16:50 +0200)
commitf55aca65154e7df01f4bfd1809f200844673f6d4
tree31ff5e832b2bebc07b2904b95753ea1a40cd607f
parent255650f4d9738fd55800d9f16942f74dcb19f8a9
crypto: fix memory leak in randomBytes() error path

This is the conceptual back-port of commit ec54873 from the master
branch.
src/node_crypto.cc