summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-16 22:31:57 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-11-20 17:22:42 +0100
commit85f5a2cd9c46ffd165f9244b4e219bfc03aa5e0e (patch)
treef1dd3d1c6777320a6067144272f0dab29ad8cfa6
parentcd325efae564384c74b4af6163303ddc81c7a3c1 (diff)
bssgp_fc_test: sanitize: free fc struct when done
Helps fix sanitizer build on debian 9. Change-Id: I0ef95ee8185a4789f0732b9420243dda5104d181
-rw-r--r--tests/gb/bssgp_fc_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gb/bssgp_fc_test.c b/tests/gb/bssgp_fc_test.c
index 98e17cc7..ac690a56 100644
--- a/tests/gb/bssgp_fc_test.c
+++ b/tests/gb/bssgp_fc_test.c
@@ -104,6 +104,8 @@ static void test_fc(uint32_t bucket_size_max, uint32_t bucket_leak_rate,
if (llist_empty(&fc->queue))
break;
}
+
+ talloc_free(fc);
}
static void help(void)