Matching on every free leads to flimsy test results where all memory is freed but one line fails to be matched by pexpect, instead, match the final count.
Matching on every free leads to flimsy test results where all memory is freed but one line fails to be matched by pexpect, instead, match the final count.