From 3cceb501d225b314a4f3188c32bd630cf306cd00 Mon Sep 17 00:00:00 2001 From: Timo Dritschler Date: Fri, 16 Jan 2015 18:54:31 +0100 Subject: Fixed some crashes on exit in tests --- test/test-client-bandwidth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test-client-bandwidth.c') diff --git a/test/test-client-bandwidth.c b/test/test-client-bandwidth.c index cb05473..7e3cf8e 100644 --- a/test/test-client-bandwidth.c +++ b/test/test-client-bandwidth.c @@ -41,8 +41,9 @@ while (1) { printf ("Throughput: %.2fGbyte/s\n",((size * 500) / elapsed)/(1024*1024*1024)); } g_timer_stop (timer); - kiro_client_free (client); + kiro_trb_purge (trb, FALSE); kiro_trb_free (trb); + kiro_client_free (client); return 0; } -- cgit v1.2.3