aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-07 22:50:31 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-07 22:50:31 -0800
commitf77debdd2bf8a6e478004f0f5ddd715b0845399c (patch)
tree50a74983e410fe17355e2e70598a31eb4e68f0d9
parent343faafe5cfc2ae990954e1de3c6010b82e81f89 (diff)
downloadnng-f77debdd2bf8a6e478004f0f5ddd715b0845399c.tar.gz
nng-f77debdd2bf8a6e478004f0f5ddd715b0845399c.tar.bz2
nng-f77debdd2bf8a6e478004f0f5ddd715b0845399c.zip
Fix small message leak in pipeline test.
-rw-r--r--tests/pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pipeline.c b/tests/pipeline.c
index 14122630..d6af728f 100644
--- a/tests/pipeline.c
+++ b/tests/pipeline.c
@@ -97,6 +97,7 @@ Main({
So(nng_recvmsg(pull, &msg, 0) == 0);
So(msg != NULL);
CHECKSTR(msg, "hello");
+ nng_msg_free(msg);
})
})