From 959f4588a164f0a524c4a654b06fcade01f5e6d5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 15 May 2018 12:35:19 -0700 Subject: fixes #433 tasks can leak While here I also improved the taskq.h comments (and removed a stale prototype for nni_task_cancel), and addressed leaks in the reqstress and multistress test programs. --- tests/multistress.c | 2 ++ tests/reqstress.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/multistress.c b/tests/multistress.c index 62838a73..1ec2bc6c 100644 --- a/tests/multistress.c +++ b/tests/multistress.c @@ -675,4 +675,6 @@ Main({ } }); }); + + free(cases); }) diff --git a/tests/reqstress.c b/tests/reqstress.c index f2ee502d..fa4b0975 100644 --- a/tests/reqstress.c +++ b/tests/reqstress.c @@ -290,4 +290,6 @@ Main({ } }); }); + + free(cases); }) -- cgit v1.2.3-70-g09d2