aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmux/osmux_test.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@soleta.eu>2015-07-21 11:11:26 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-07-21 12:04:58 +0200
commit552bae60814291b301247a092a287f7385ddc3c7 (patch)
treef027c6cfdd51b53b4a249ad20a5ba9768ac1f98d /tests/osmux/osmux_test.c
parentf71308001a32a3dd67f2b9098e9a67292d964fbb (diff)
tests: osmux: iterate 64 times in osmo_test_loop()
Instead of 63, this resolves major "definitely lost" remaining leak that valgrind reports regarding msgb.
Diffstat (limited to 'tests/osmux/osmux_test.c')
-rw-r--r--tests/osmux/osmux_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c
index 9ceabcd..94b95de 100644
--- a/tests/osmux/osmux_test.c
+++ b/tests/osmux/osmux_test.c
@@ -122,7 +122,7 @@ static void osmux_test_loop(int ccid)
uint16_t seq;
int i, j, k = 0;
- for (i = 1; i < 64; i++) {
+ for (i = 1; i < 65; i++) {
msg = msgb_alloc(1500, "test");
if (!msg)
exit(EXIT_FAILURE);