Message ID | 1437488613-3943-19-git-send-email-pablo@gnumonks.org |
---|---|
State | Accepted |
Headers | show |
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);
From: Pablo Neira Ayuso <pablo@soleta.eu> Instead of 63, this resolves major "definitely lost" remaining leak that valgrind reports regarding msgb. --- tests/osmux/osmux_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)