From 48c687ea8407507dc48f102796698be9cdd10810 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 5 Sep 2017 22:20:44 +0200 Subject: [PATCH] tcp_remove_all() (used in tcp test setup/teardown): handle tcp_bound_pcbs, too --- test/unit/tcp/tcp_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/tcp/tcp_helper.c b/test/unit/tcp/tcp_helper.c index 256062a2..8689b71a 100644 --- a/test/unit/tcp/tcp_helper.c +++ b/test/unit/tcp/tcp_helper.c @@ -33,6 +33,7 @@ void tcp_remove_all(void) { tcp_remove(tcp_listen_pcbs.pcbs); + tcp_remove(tcp_bound_pcbs); tcp_remove(tcp_active_pcbs); tcp_remove(tcp_tw_pcbs); fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0);