From a1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 18 Jan 2017 11:26:12 -0800 Subject: Reaper exits too soon, leaking bits. --- tests/pipeline.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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); -- cgit v1.2.3-70-g09d2