summaryrefslogtreecommitdiffstats
path: root/test/test-client-bandwidth.c
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2015-01-16 18:54:31 +0100
committerTimo Dritschler <timo.dritschler@kit.edu>2015-01-16 18:54:31 +0100
commit3cceb501d225b314a4f3188c32bd630cf306cd00 (patch)
treed29ddbb54a4974d9976b51fa0d06715288d60c42 /test/test-client-bandwidth.c
parent4b9f0f2d695d0e57a6362b7e5d264f5cccd5e8ad (diff)
downloadkiro-3cceb501d225b314a4f3188c32bd630cf306cd00.tar.gz
kiro-3cceb501d225b314a4f3188c32bd630cf306cd00.tar.bz2
kiro-3cceb501d225b314a4f3188c32bd630cf306cd00.tar.xz
kiro-3cceb501d225b314a4f3188c32bd630cf306cd00.zip
Fixed some crashes on exit in tests
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;
}