diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index 585496af..116b2345 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -622,6 +622,8 @@ static void test_tbf_dl_llc_loss() fprintf(stderr, "=== end %s ===\n", __func__); + /* Restore MS release timeout to 0 to make sure it is freed immediately: */ + ms_set_timeout(ms, 0); TALLOC_FREE(the_pcu); }