summaryrefslogtreecommitdiffstats
path: root/test/test-client-bandwidth.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-client-bandwidth.c')
-rw-r--r--test/test-client-bandwidth.c3
1 files changed, 2 insertions, 1 deletions
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;
}