diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-15 12:35:19 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-15 12:35:19 -0700 |
| commit | 959f4588a164f0a524c4a654b06fcade01f5e6d5 (patch) | |
| tree | e55ef823b6095c5215b21d2facc3a71e7aaf2f99 /tests | |
| parent | 81808ce3d38cc7ce0131367e2187f0beb2cd1b43 (diff) | |
| download | nng-959f4588a164f0a524c4a654b06fcade01f5e6d5.tar.gz nng-959f4588a164f0a524c4a654b06fcade01f5e6d5.tar.bz2 nng-959f4588a164f0a524c4a654b06fcade01f5e6d5.zip | |
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.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/multistress.c | 2 | ||||
| -rw-r--r-- | tests/reqstress.c | 2 |
2 files changed, 4 insertions, 0 deletions
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); }) |
