Hi, here are two more patches I found by running 'make test' here during my wrapper work. The CHECK_NTTIME compares values with nano second resolution so well, from time to time they are off a bit and the test fails. Used the same logic as the time check above. The second patch is just another use after free bug.