From 7e844cf618d67675928fb4c6fadc6cc16db19d19 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 18 Jan 2017 01:16:40 -0800 Subject: Fixes for valgrind issues. --- tests/pipeline.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/pipeline.c') diff --git a/tests/pipeline.c b/tests/pipeline.c index 22f636d2..a01409c4 100644 --- a/tests/pipeline.c +++ b/tests/pipeline.c @@ -19,6 +19,8 @@ Main({ const char *addr = "inproc://test"; + nni_init(); + Test("PIPELINE (PUSH/PULL) pattern", { Convey("We can create a PUSH socket", { nng_socket *push; @@ -177,4 +179,6 @@ Main({ So(nng_recvmsg(pull2, &abc, 0) == NNG_ETIMEDOUT); }) }) + + nni_fini(); }) -- cgit v1.2.3-70-g09d2