Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Register test complete callback along with test #141
This should solve the problem described in issue #139, even though the solution implemented here is different from the one suggested in issue's description (but that's irrelevant).
I've tested this on Linux, using valgrind to make sure that except for the leak reported in #138 there are no further memory errors.