summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-18 11:26:12 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-18 11:26:12 -0800
commita1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc (patch)
tree390ee6a063f78fdd4e4a661055ab3fc64f35c04c /tests
parent7a9c328c4fd29fa7ba3dce8c8189384cd855d244 (diff)
downloadnng-a1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc.tar.gz
nng-a1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc.tar.bz2
nng-a1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc.zip
Reaper exits too soon, leaking bits.
Diffstat (limited to 'tests')
-rw-r--r--tests/pipeline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pipeline.c b/tests/pipeline.c
index a01409c4..5339146f 100644
--- a/tests/pipeline.c
+++ b/tests/pipeline.c
@@ -66,9 +66,9 @@ Main({
})
Convey("We can create a linked PUSH/PULL pair", {
- nng_socket *push;
- nng_socket *pull;
- nng_socket *what;
+ nng_socket *push = NULL;
+ nng_socket *pull = NULL;
+ nng_socket *what = NULL;
So(nng_open(&push, NNG_PROTO_PUSH) == 0);
So(nng_open(&pull, NNG_PROTO_PULL) == 0);