diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2016-07-20 14:46:15 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2016-08-01 16:16:48 +0200 |
commit | 0190db44acc6bf7d79303383551b1e0dd69a8cfb (patch) | |
tree | ad603a74866684af497e72179e98bf4386d00dc0 /src/inspector_socket.cc | |
parent | 1658297f479fe7a2a7ae6debd37bdb750ded3616 (diff) | |
download | android-node-v8-0190db44acc6bf7d79303383551b1e0dd69a8cfb.tar.gz android-node-v8-0190db44acc6bf7d79303383551b1e0dd69a8cfb.tar.bz2 android-node-v8-0190db44acc6bf7d79303383551b1e0dd69a8cfb.zip |
test: fix memory leaks in inspector tests
The inspector tests weren't closing open libuv handles properly,
making valgrind complain. Strengthen the uv_loop_close() check
while here.
With this commit applied:
$ valgrind ./out/Release/cctest 2>&1 | grep 'total heap' | cut -c31-
1,017 allocs, 1,017 frees, 21,695,456 bytes allocated
PR-URL: https://github.com/nodejs/node/pull/7906
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/inspector_socket.cc')
0 files changed, 0 insertions, 0 deletions